Use installEventFilter properly
BUG: 332501
This commit is contained in:
parent
dbbf69b4c5
commit
ce878ee787
@ -90,7 +90,7 @@ ThemePrivate::ThemePrivate(QObject *parent)
|
|||||||
QObject::connect(s_blurEffectWatcher, SIGNAL(effectChanged(bool)), this, SLOT(blurBehindChanged(bool)));
|
QObject::connect(s_blurEffectWatcher, SIGNAL(effectChanged(bool)), this, SLOT(blurBehindChanged(bool)));
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
installEventFilter(qApp);
|
qApp->installEventFilter(this);
|
||||||
|
|
||||||
const QString configFile = QStandardPaths::writableLocation(QStandardPaths::GenericConfigLocation) + QLatin1Char('/') + themeRcFile;
|
const QString configFile = QStandardPaths::writableLocation(QStandardPaths::GenericConfigLocation) + QLatin1Char('/') + themeRcFile;
|
||||||
KDirWatch::self()->addFile(configFile);
|
KDirWatch::self()->addFile(configFile);
|
||||||
|
Loading…
Reference in New Issue
Block a user