refactor: buttons and friends (#6102)
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
#include "singletons/Resources.hpp"
|
||||
#include "singletons/Theme.hpp"
|
||||
#include "widgets/helper/Button.hpp"
|
||||
#include "widgets/buttons/PixmapButton.hpp"
|
||||
|
||||
#include <QMouseEvent>
|
||||
|
||||
@@ -119,7 +119,7 @@ void DraggablePopup::togglePinned()
|
||||
}
|
||||
Button *DraggablePopup::createPinButton()
|
||||
{
|
||||
this->pinButton_ = new Button(this);
|
||||
this->pinButton_ = new PixmapButton(this);
|
||||
this->pinButton_->setPixmap(getTheme()->buttons.pin);
|
||||
this->pinButton_->setScaleIndependentSize(18, 18);
|
||||
this->pinButton_->setToolTip("Pin Window");
|
||||
|
||||
Reference in New Issue
Block a user