summaryrefslogtreecommitdiff
path: root/noncore/decorations/flat
Side-by-side diff
Diffstat (limited to 'noncore/decorations/flat') (more/less context) (show whitespace changes)
-rw-r--r--noncore/decorations/flat/flat.cpp4
-rw-r--r--noncore/decorations/flat/flat.h1
2 files changed, 3 insertions, 2 deletions
diff --git a/noncore/decorations/flat/flat.cpp b/noncore/decorations/flat/flat.cpp
index b6a81a3..a2f12be 100644
--- a/noncore/decorations/flat/flat.cpp
+++ b/noncore/decorations/flat/flat.cpp
@@ -202,3 +202,3 @@ static void colorize( QImage &img, const QColor &c, bool rev )
-FlatDecoration::FlatDecoration() : ref(0), buttonCache(16)
+FlatDecoration::FlatDecoration() : buttonCache(16)
{
@@ -349,2 +349,4 @@ QRESULT FlatDecoration::queryInterface( const QUuid &uuid, QUnknownInterface **i
*iface = this;
+ else
+ return QS_FALSE;
diff --git a/noncore/decorations/flat/flat.h b/noncore/decorations/flat/flat.h
index 3d8a18b..96ceb1f 100644
--- a/noncore/decorations/flat/flat.h
+++ b/noncore/decorations/flat/flat.h
@@ -44,3 +44,2 @@ public:
private:
- ulong ref;
QCache<QImage> buttonCache;