From de6cb045fd2b237e58320f0da7f3a365ca4d2ace Mon Sep 17 00:00:00 2001 From: Max Christian Pohle Date: Wed, 18 Nov 2015 04:12:48 +0100 Subject: downloads+parses json and displays systemtray icon can be activated by a single click and shows the corresponding window. --- main.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 main.cpp (limited to 'main.cpp') diff --git a/main.cpp b/main.cpp new file mode 100644 index 0000000..74e1a60 --- /dev/null +++ b/main.cpp @@ -0,0 +1,10 @@ +#include "mainwindow.h" +#include + +int main(int argc, char *argv[]) +{ + QApplication a(argc, argv); + a.setQuitOnLastWindowClosed(false); + MainWindow w; + return a.exec(); +} -- cgit v1.2.3