summaryrefslogtreecommitdiff
path: root/noncore/styles/theme/plugin.cpp
Unidiff
Diffstat (limited to 'noncore/styles/theme/plugin.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/styles/theme/plugin.cpp4
1 files changed, 3 insertions, 1 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
@@ -3,13 +3,13 @@
3#include "othemestyle.h" 3#include "othemestyle.h"
4#include "themeset.h" 4#include "themeset.h"
5#include "plugin.h" 5#include "plugin.h"
6 6
7 7
8 8
9ThemeInterface::ThemeInterface ( ) : ref ( 0 ) 9ThemeInterface::ThemeInterface ( )
10{ 10{
11 m_widget = 0; 11 m_widget = 0;
12} 12}
13 13
14ThemeInterface::~ThemeInterface ( ) 14ThemeInterface::~ThemeInterface ( )
15{ 15{
@@ -62,12 +62,14 @@ QRESULT ThemeInterface::queryInterface ( const QUuid &uuid, QUnknownInterface **
62 if ( uuid == IID_QUnknown ) 62 if ( uuid == IID_QUnknown )
63 *iface = this; 63 *iface = this;
64 else if ( uuid == IID_Style ) 64 else if ( uuid == IID_Style )
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 ( );
71 73
72 return QS_OK; 74 return QS_OK;
73} 75}