Diffstat (limited to 'noncore/styles/liquid/plugin.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/styles/liquid/plugin.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/noncore/styles/liquid/plugin.cpp b/noncore/styles/liquid/plugin.cpp index 6813fc5..fb322a9 100644 --- a/noncore/styles/liquid/plugin.cpp +++ b/noncore/styles/liquid/plugin.cpp @@ -6,7 +6,7 @@ -LiquidInterface::LiquidInterface ( ) : ref ( 0 ) +LiquidInterface::LiquidInterface ( ) { m_widget = 0; } @@ -65,6 +65,8 @@ QRESULT LiquidInterface::queryInterface ( const QUuid &uuid, QUnknownInterface * *iface = this; else if ( uuid == IID_StyleExtended ) *iface = this; + else + return QS_FALSE; if ( *iface ) (*iface)-> addRef ( ); |