summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/EventLoop/Qt/QtEventLoop.h')
-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,8 +1,8 @@
/*
- * Copyright (c) 2010 Isode Limited.
+ * Copyright (c) 2010-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
#pragma once
@@ -13,13 +13,13 @@
#include <Swiften/EventLoop/EventLoop.h>
namespace Swift {
class QtEventLoop : public QObject, public EventLoop {
public:
QtEventLoop() {}
- ~QtEventLoop() {
+ virtual ~QtEventLoop() {
QCoreApplication::removePostedEvents(this);
}
virtual void post(const Swift::Event& event) {
QCoreApplication::postEvent(this, new Event(event));
}