summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/EventLoop/Qt')
-rw-r--r--Swiften/EventLoop/Qt/QtEventLoop.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Swiften/EventLoop/Qt/QtEventLoop.h b/Swiften/EventLoop/Qt/QtEventLoop.h
index 275ba4b..0e048e5 100644
--- a/Swiften/EventLoop/Qt/QtEventLoop.h
+++ b/Swiften/EventLoop/Qt/QtEventLoop.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010 Isode Limited.
+ * Copyright (c) 2010-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -16,7 +16,7 @@ namespace Swift {
class QtEventLoop : public QObject, public EventLoop {
public:
QtEventLoop() {}
- ~QtEventLoop() {
+ virtual ~QtEventLoop() {
QCoreApplication::removePostedEvents(this);
}