From 46e30e8293489a43de9bd18dd37dd1346202d6fc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Remko=20Tron=C3=A7on?= <git@el-tramo.be>
Date: Sat, 24 Apr 2010 15:56:14 +0200
Subject: Instantiate Qt event loop in Slimber.


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;
-- 
cgit v0.10.2-6-g49f6