Diffstat (limited to 'noncore/styles/theme/plugin.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/styles/theme/plugin.cpp | 4 |
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 @@ -7,5 +7,5 @@ -ThemeInterface::ThemeInterface ( ) : ref ( 0 ) +ThemeInterface::ThemeInterface ( ) { m_widget = 0; @@ -66,4 +66,6 @@ QRESULT ThemeInterface::queryInterface ( const QUuid &uuid, QUnknownInterface ** else if ( uuid == IID_StyleExtended ) *iface = this; + else + return QS_FALSE; if ( *iface ) |