aboutsummaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
authorMax Christian Pohle2015-11-18 04:12:48 +0100
committerMax Christian Pohle2015-11-18 04:12:48 +0100
commitde6cb045fd2b237e58320f0da7f3a365ca4d2ace (patch)
tree2bc3a13c3308aadaa0e92c556d587c60f8d718de /main.cpp
downloadqspacestatus-de6cb045fd2b237e58320f0da7f3a365ca4d2ace.tar.bz2
qspacestatus-de6cb045fd2b237e58320f0da7f3a365ca4d2ace.zip
downloads+parses json and displays systemtray icon
can be activated by a single click and shows the corresponding window.
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/main.cpp b/main.cpp
new file mode 100644
index 0000000..74e1a60
--- /dev/null
+++ b/main.cpp
@@ -0,0 +1,10 @@
1#include "mainwindow.h"
2#include <QApplication>
3
4int main(int argc, char *argv[])
5{
6 QApplication a(argc, argv);
7 a.setQuitOnLastWindowClosed(false);
8 MainWindow w;
9 return a.exec();
10}
..