diff options
author | Remko Tronçon <git@el-tramo.be> | 2010-04-24 13:56:14 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2010-04-24 13:56:14 (GMT) |
commit | 46e30e8293489a43de9bd18dd37dd1346202d6fc (patch) | |
tree | dfe94dbbaa503739bda3700fddade406745b22e3 /Slimber/Qt | |
parent | b40812585475ca7795a115774345ed80947134fa (diff) | |
download | swift-46e30e8293489a43de9bd18dd37dd1346202d6fc.zip swift-46e30e8293489a43de9bd18dd37dd1346202d6fc.tar.bz2 |
Instantiate Qt event loop in Slimber.
Diffstat (limited to 'Slimber/Qt')
-rw-r--r-- | Slimber/Qt/main.cpp | 3 |
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; |