summaryrefslogtreecommitdiff
path: root/noncore/decorations/polished/polished.cpp
authorzecke <zecke>2004-02-05 17:42:00 (UTC)
committer zecke <zecke>2004-02-05 17:42:00 (UTC)
commitc79bbb6696edf7539ebeda64092f3f91f65ba500 (patch) (unidiff)
treecb05c94b563d42bb27628d398dbb28beebdee46d /noncore/decorations/polished/polished.cpp
parent4ce8201e80a0b60a8e5d9d875bf00602303d6a0b (diff)
downloadopie-c79bbb6696edf7539ebeda64092f3f91f65ba500.zip
opie-c79bbb6696edf7539ebeda64092f3f91f65ba500.tar.gz
opie-c79bbb6696edf7539ebeda64092f3f91f65ba500.tar.bz2
Janitor: remove ulong ref
Diffstat (limited to 'noncore/decorations/polished/polished.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/decorations/polished/polished.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/noncore/decorations/polished/polished.cpp b/noncore/decorations/polished/polished.cpp
index 30f1a84..43179be 100644
--- a/noncore/decorations/polished/polished.cpp
+++ b/noncore/decorations/polished/polished.cpp
@@ -22,7 +22,7 @@
22#include <qpainter.h> 22#include <qpainter.h>
23#include <qapplication.h> 23#include <qapplication.h>
24 24
25PolishedDecoration::PolishedDecoration() : ref(0) 25PolishedDecoration::PolishedDecoration()
26{ 26{
27} 27}
28 28
@@ -158,6 +158,8 @@ QRESULT PolishedDecoration::queryInterface( const QUuid &uuid, QUnknownInterface
158 *iface = this; 158 *iface = this;
159 else if ( uuid == IID_WindowDecoration ) 159 else if ( uuid == IID_WindowDecoration )
160 *iface = this; 160 *iface = this;
161 else
162 return QS_FALSE;
161 163
162 if ( *iface ) 164 if ( *iface )
163 (*iface)->addRef(); 165 (*iface)->addRef();