ugh, fix another small error of my last commit.

svn path=/trunk/kdeartwork/kwin-styles/plastik/; revision=279100
This commit is contained in:
Sandro Giessl 2004-01-12 17:17:02 +00:00
parent b96ad47cd6
commit 0ae6966cf3

View file

@ -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]->setMaximized( max );
m_button[MaxButton]->setDeco(); // update deco...
m_button[MaxButton]->setOnAllDesktops( isOnAllDesktops() );
connect(m_button[MaxButton], SIGNAL(clicked()), SLOT(slotMaximize()));
layout->addWidget(m_button[MaxButton], 0, Qt::AlignHCenter | Qt::AlignTop);
}