diff options
author | Max Christian Pohle | 2015-11-18 04:12:48 +0100 |
---|---|---|
committer | Max Christian Pohle | 2015-11-18 04:12:48 +0100 |
commit | de6cb045fd2b237e58320f0da7f3a365ca4d2ace (patch) | |
tree | 2bc3a13c3308aadaa0e92c556d587c60f8d718de /main.cpp | |
download | qspacestatus-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.cpp | 10 |
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 | |||
4 | int main(int argc, char *argv[]) | ||
5 | { | ||
6 | QApplication a(argc, argv); | ||
7 | a.setQuitOnLastWindowClosed(false); | ||
8 | MainWindow w; | ||
9 | return a.exec(); | ||
10 | } | ||