summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Slimber/Qt/main.cpp')
m---------Slimber0
-rw-r--r--Slimber/Qt/main.cpp19
2 files changed, 0 insertions, 19 deletions
diff --git a/Slimber b/Slimber
new file mode 160000
+Subproject 723115ef8542c640580ea4751fca3c359a79dec
diff --git a/Slimber/Qt/main.cpp b/Slimber/Qt/main.cpp
deleted file mode 100644
index 0988e7c..0000000
--- a/Slimber/Qt/main.cpp
+++ /dev/null
@@ -1,19 +0,0 @@
-#include <QApplication>
-#include <QSystemTrayIcon>
-#include <QMessageBox>
-
-#include "QtMenulet.h"
-#include "Slimber/MainController.h"
-
-int main(int argc, char* argv[]) {
- QApplication app(argc, argv);
- if (!QSystemTrayIcon::isSystemTrayAvailable()) {
-QMessageBox::critical(0, QObject::tr("Systray"), QObject::tr("No system tray"));
- return 1;
- }
-
- QtMenulet menulet;
- MainController controller(&menulet);
-
- return app.exec();
-}