-rw-r--r-- | noncore/styles/metal/plugin.cpp | 4 | ||||
-rw-r--r-- | noncore/styles/metal/plugin.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/noncore/styles/metal/plugin.cpp b/noncore/styles/metal/plugin.cpp index 4c9f64d..2f0f530 100644 --- a/noncore/styles/metal/plugin.cpp +++ b/noncore/styles/metal/plugin.cpp @@ -5,5 +5,5 @@ -MetalInterface::MetalInterface ( ) : ref ( 0 ) +MetalInterface::MetalInterface ( ) { } @@ -32,4 +32,6 @@ QRESULT MetalInterface::queryInterface ( const QUuid &uuid, QUnknownInterface ** else if ( uuid == IID_Style ) *iface = this; + else + return QS_FALSE; if ( *iface ) diff --git a/noncore/styles/metal/plugin.h b/noncore/styles/metal/plugin.h index 545aea9..7a38d62 100644 --- a/noncore/styles/metal/plugin.h +++ b/noncore/styles/metal/plugin.h @@ -16,6 +16,4 @@ public: virtual QString name ( ) const; -private: - ulong ref; }; |