From c79bbb6696edf7539ebeda64092f3f91f65ba500 Mon Sep 17 00:00:00 2001 From: zecke Date: Thu, 05 Feb 2004 17:42:00 +0000 Subject: Janitor: remove ulong ref --- (limited to 'noncore/styles/theme/plugin.cpp') 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 @@ -ThemeInterface::ThemeInterface ( ) : ref ( 0 ) +ThemeInterface::ThemeInterface ( ) { m_widget = 0; } @@ -65,6 +65,8 @@ QRESULT ThemeInterface::queryInterface ( const QUuid &uuid, QUnknownInterface ** *iface = this; else if ( uuid == IID_StyleExtended ) *iface = this; + else + return QS_FALSE; if ( *iface ) (*iface)-> addRef ( ); -- cgit v0.9.0.2