don't onAppExitCleanup on theme destroy

Theme is not a singleton anymore
This commit is contained in:
Marco Martin 2014-05-07 13:58:09 +02:00
parent 2d94312f97
commit 842d8a7ad5

View File

@ -101,8 +101,6 @@ Theme::~Theme()
}
}
d->onAppExitCleanup();
if (d == ThemePrivate::globalTheme) {
if (!ThemePrivate::globalThemeRefCount.deref()) {
disconnect(ThemePrivate::globalTheme, 0, this, 0);