Use installEventFilter properly

BUG: 332501
This commit is contained in:
Martin Klapetek 2014-03-26 14:24:23 +01:00
parent dbbf69b4c5
commit ce878ee787

View File

@ -90,7 +90,7 @@ ThemePrivate::ThemePrivate(QObject *parent)
QObject::connect(s_blurEffectWatcher, SIGNAL(effectChanged(bool)), this, SLOT(blurBehindChanged(bool)));
#endif
}
installEventFilter(qApp);
qApp->installEventFilter(this);
const QString configFile = QStandardPaths::writableLocation(QStandardPaths::GenericConfigLocation) + QLatin1Char('/') + themeRcFile;
KDirWatch::self()->addFile(configFile);