ugh, fix another small error of my last commit.
svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=279100
This commit is contained in:
parent
b96ad47cd6
commit
0ae6966cf3
1 changed files with 0 additions and 1 deletions
|
@ -591,7 +591,6 @@ void PlastikClient::addButtons(QBoxLayout *layout, const QString& s, int buttonS
|
||||||
m_button[MaxButton] = new PlastikButton(this, "maximize", max?i18n("Restore"):i18n("Maximize"), MaxButton, buttonSize, LeftButton|MidButton|RightButton);
|
m_button[MaxButton] = new PlastikButton(this, "maximize", max?i18n("Restore"):i18n("Maximize"), MaxButton, buttonSize, LeftButton|MidButton|RightButton);
|
||||||
m_button[MaxButton]->setMaximized( max );
|
m_button[MaxButton]->setMaximized( max );
|
||||||
m_button[MaxButton]->setDeco(); // update deco...
|
m_button[MaxButton]->setDeco(); // update deco...
|
||||||
m_button[MaxButton]->setOnAllDesktops( isOnAllDesktops() );
|
|
||||||
connect(m_button[MaxButton], SIGNAL(clicked()), SLOT(slotMaximize()));
|
connect(m_button[MaxButton], SIGNAL(clicked()), SLOT(slotMaximize()));
|
||||||
layout->addWidget(m_button[MaxButton], 0, Qt::AlignHCenter | Qt::AlignTop);
|
layout->addWidget(m_button[MaxButton], 0, Qt::AlignHCenter | Qt::AlignTop);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue