summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;