summaryrefslogtreecommitdiff
path: root/noncore/styles/metal
Side-by-side diff
Diffstat (limited to 'noncore/styles/metal') (more/less context) (show whitespace changes)
-rw-r--r--noncore/styles/metal/plugin.cpp4
-rw-r--r--noncore/styles/metal/plugin.h2
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
@@ -6,3 +6,3 @@
-MetalInterface::MetalInterface ( ) : ref ( 0 )
+MetalInterface::MetalInterface ( )
{
@@ -33,2 +33,4 @@ QRESULT MetalInterface::queryInterface ( const QUuid &uuid, QUnknownInterface **
*iface = this;
+ else
+ return QS_FALSE;
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
@@ -17,4 +17,2 @@ public:
-private:
- ulong ref;
};