Keep the event filter around so get notified of font changes at runtime
Changelog: Fix labels not picking up changes to font settings at runtime REVIEW: 121728 BUG: 334818
This commit is contained in:
parent
11485738af
commit
b4e1fd5f1c
@ -759,13 +759,7 @@ void ThemePrivate::setThemeName(const QString &tempThemeName, bool writeSettings
|
|||||||
|
|
||||||
if (colorsFile.isEmpty()) {
|
if (colorsFile.isEmpty()) {
|
||||||
colors = 0;
|
colors = 0;
|
||||||
if (qApp) {
|
|
||||||
qApp->installEventFilter(this);
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
if (qApp) {
|
|
||||||
qApp->removeEventFilter(this);
|
|
||||||
}
|
|
||||||
colors = KSharedConfig::openConfig(colorsFile);
|
colors = KSharedConfig::openConfig(colorsFile);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user