summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/xcb/qxcbxsettings.h
diff options
context:
space:
mode:
authorGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2014-10-30 10:22:36 +0100
committerGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2014-11-03 23:24:58 +0100
commitdce44534850548eefb8f060e51869fe906ca5ad4 (patch)
tree504d7d96d7ed55af8c79c6c1139708b358bb5dbe /src/plugins/platforms/xcb/qxcbxsettings.h
parentcca4eb45c5e1a70d2c39cad2d77abf0b986bc087 (diff)
Prevent a leak of QXcbXSettingsPrivate
The private was not deleted. Adding the dtor in turn causes a warning about not having a virtual dtor in the base class, so add that as well. Change-Id: I24a90caf2cf6192a6f17cf5af96b8f77010d9127 Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com> Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
Diffstat (limited to 'src/plugins/platforms/xcb/qxcbxsettings.h')
-rw-r--r--src/plugins/platforms/xcb/qxcbxsettings.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/platforms/xcb/qxcbxsettings.h b/src/plugins/platforms/xcb/qxcbxsettings.h
index 717fe559c9..3496cedf36 100644
--- a/src/plugins/platforms/xcb/qxcbxsettings.h
+++ b/src/plugins/platforms/xcb/qxcbxsettings.h
@@ -45,6 +45,7 @@ class QXcbXSettings : public QXcbWindowEventListener
Q_DECLARE_PRIVATE(QXcbXSettings)
public:
QXcbXSettings(QXcbScreen *screen);
+ ~QXcbXSettings();
bool initialized() const;
QVariant setting(const QByteArray &property) const;