-rw-r--r-- | noncore/styles/theme/plugin.cpp | 4 | ||||
-rw-r--r-- | noncore/styles/theme/plugin.h | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/noncore/styles/theme/plugin.cpp b/noncore/styles/theme/plugin.cpp index 2560720..dca8685 100644 --- a/noncore/styles/theme/plugin.cpp +++ b/noncore/styles/theme/plugin.cpp @@ -8,3 +8,3 @@ -ThemeInterface::ThemeInterface ( ) : ref ( 0 ) +ThemeInterface::ThemeInterface ( ) { @@ -67,2 +67,4 @@ QRESULT ThemeInterface::queryInterface ( const QUuid &uuid, QUnknownInterface ** *iface = this; + else + return QS_FALSE; diff --git a/noncore/styles/theme/plugin.h b/noncore/styles/theme/plugin.h index 60cae97..c67f1e4 100644 --- a/noncore/styles/theme/plugin.h +++ b/noncore/styles/theme/plugin.h @@ -29,3 +29,2 @@ private: ThemeSettings *m_widget; - ulong ref; }; |