mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-24 10:52:49 +00:00
plasma: call QToolButton constructor in Plasma::ToolButton constructor
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
c4e23a5c3f
commit
7d56c26074
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@ ToolButton::ToolButton(QGraphicsWidget *parent)
|
||||||
d->background->setCacheAllRenderedFrames(true);
|
d->background->setCacheAllRenderedFrames(true);
|
||||||
d->background->setElementPrefix("normal");
|
d->background->setElementPrefix("normal");
|
||||||
|
|
||||||
QToolButton *native = new QToolButton;
|
QToolButton *native = new QToolButton();
|
||||||
connect(native, SIGNAL(clicked()), this, SIGNAL(clicked()));
|
connect(native, SIGNAL(clicked()), this, SIGNAL(clicked()));
|
||||||
connect(native, SIGNAL(pressed()), this, SIGNAL(pressed()));
|
connect(native, SIGNAL(pressed()), this, SIGNAL(pressed()));
|
||||||
connect(native, SIGNAL(released()), this, SIGNAL(released()));
|
connect(native, SIGNAL(released()), this, SIGNAL(released()));
|
||||||
|
|
Loading…
Add table
Reference in a new issue