summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2010-04-24 13:56:14 (GMT)
committerRemko Tronçon <git@el-tramo.be>2010-04-24 13:56:14 (GMT)
commit46e30e8293489a43de9bd18dd37dd1346202d6fc (patch)
treedfe94dbbaa503739bda3700fddade406745b22e3 /Slimber
parentb40812585475ca7795a115774345ed80947134fa (diff)
downloadswift-46e30e8293489a43de9bd18dd37dd1346202d6fc.zip
swift-46e30e8293489a43de9bd18dd37dd1346202d6fc.tar.bz2
Instantiate Qt event loop in Slimber.
Diffstat (limited to 'Slimber')
-rw-r--r--Slimber/Qt/main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Slimber/Qt/main.cpp b/Slimber/Qt/main.cpp
index 05a4508..6016945 100644
--- a/Slimber/Qt/main.cpp
+++ b/Slimber/Qt/main.cpp
@@ -10,9 +10,12 @@
#include "QtMenulet.h"
#include "Slimber/MainController.h"
+#include "Swiften/EventLoop/Qt/QtEventLoop.h"
int main(int argc, char* argv[]) {
QApplication app(argc, argv);
+ QtEventLoop eventLoop;
+
if (!QSystemTrayIcon::isSystemTrayAvailable()) {
QMessageBox::critical(0, QObject::tr("Systray"), QObject::tr("No system tray"));
return 1;