summaryrefslogtreecommitdiff
path: root/noncore/styles/theme
Unidiff
Diffstat (limited to 'noncore/styles/theme') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/styles/theme/plugin.cpp4
-rw-r--r--noncore/styles/theme/plugin.h1
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
@@ -6,7 +6,7 @@
6 6
7 7
8 8
9ThemeInterface::ThemeInterface ( ) : ref ( 0 ) 9ThemeInterface::ThemeInterface ( )
10{ 10{
11 m_widget = 0; 11 m_widget = 0;
12} 12}
@@ -65,6 +65,8 @@ QRESULT ThemeInterface::queryInterface ( const QUuid &uuid, QUnknownInterface **
65 *iface = this; 65 *iface = this;
66 else if ( uuid == IID_StyleExtended ) 66 else if ( uuid == IID_StyleExtended )
67 *iface = this; 67 *iface = this;
68 else
69 return QS_FALSE;
68 70
69 if ( *iface ) 71 if ( *iface )
70 (*iface)-> addRef ( ); 72 (*iface)-> addRef ( );
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
@@ -27,7 +27,6 @@ public:
27 27
28private: 28private:
29 ThemeSettings *m_widget; 29 ThemeSettings *m_widget;
30 ulong ref;
31}; 30};
32 31
33#endif 32#endif