Diffstat (limited to 'noncore/decorations/flat/flat.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/decorations/flat/flat.cpp | 4 |
1 files changed, 3 insertions, 1 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 @@ -201,5 +201,5 @@ static void colorize( QImage &img, const QColor &c, bool rev ) } -FlatDecoration::FlatDecoration() : ref(0), buttonCache(16) +FlatDecoration::FlatDecoration() : buttonCache(16) { buttonCache.setAutoDelete(TRUE); @@ -348,4 +348,6 @@ QRESULT FlatDecoration::queryInterface( const QUuid &uuid, QUnknownInterface **i else if ( uuid == IID_WindowDecoration ) *iface = this; + else + return QS_FALSE; if ( *iface ) |