summaryrefslogtreecommitdiff
path: root/noncore/styles/flat
Unidiff
Diffstat (limited to 'noncore/styles/flat') (more/less context) (show whitespace changes)
-rw-r--r--noncore/styles/flat/flat.cpp2
-rw-r--r--noncore/styles/flat/flat.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/noncore/styles/flat/flat.cpp b/noncore/styles/flat/flat.cpp
index 24366f6..f3bacf9 100644
--- a/noncore/styles/flat/flat.cpp
+++ b/noncore/styles/flat/flat.cpp
@@ -1055,13 +1055,13 @@ void FlatStyle::getButtonShift( int &x, int &y )
1055 x = 0; y = 0; 1055 x = 0; y = 0;
1056} 1056}
1057 1057
1058//=========================================================================== 1058//===========================================================================
1059 1059
1060FlatStyleImpl::FlatStyleImpl() 1060FlatStyleImpl::FlatStyleImpl()
1061 : flat(0), ref(0) 1061 : flat(0)
1062{ 1062{
1063} 1063}
1064 1064
1065FlatStyleImpl::~FlatStyleImpl() 1065FlatStyleImpl::~FlatStyleImpl()
1066{ 1066{
1067 // We do not delete the style because Qt does that when a new style 1067 // We do not delete the style because Qt does that when a new style
diff --git a/noncore/styles/flat/flat.h b/noncore/styles/flat/flat.h
index ebea95b..4591852 100644
--- a/noncore/styles/flat/flat.h
+++ b/noncore/styles/flat/flat.h
@@ -109,10 +109,9 @@ public:
109 109
110 virtual QStyle *style(); 110 virtual QStyle *style();
111 virtual QString name() const; 111 virtual QString name() const;
112 112
113private: 113private:
114 FlatStyle *flat; 114 FlatStyle *flat;
115 ulong ref;
116}; 115};
117 116
118#endif // FLATSTYLE_H 117#endif // FLATSTYLE_H