don't onAppExitCleanup on theme destroy
Theme is not a singleton anymore
This commit is contained in:
parent
2d94312f97
commit
842d8a7ad5
@ -101,8 +101,6 @@ Theme::~Theme()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
d->onAppExitCleanup();
|
|
||||||
|
|
||||||
if (d == ThemePrivate::globalTheme) {
|
if (d == ThemePrivate::globalTheme) {
|
||||||
if (!ThemePrivate::globalThemeRefCount.deref()) {
|
if (!ThemePrivate::globalThemeRefCount.deref()) {
|
||||||
disconnect(ThemePrivate::globalTheme, 0, this, 0);
|
disconnect(ThemePrivate::globalTheme, 0, this, 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user