hide the focus indicator if the stylesheet is not empty

svn path=/trunk/KDE/kdelibs/; revision=1202169
This commit is contained in:
Marco Martin 2010-11-29 22:30:35 +00:00
parent 07610e04ea
commit 28e6398a6a

View File

@ -252,6 +252,7 @@ QString PushButton::image() const
void PushButton::setStyleSheet(const QString &stylesheet)
{
d->focusIndicator->setVisible(stylesheet.isEmpty());
widget()->setStyleSheet(stylesheet);
}