Legend:
- Unmodified
- Added
- Removed
-
main.cpp
r25 r29 1 1 #include <QApplication> 2 #include <QSystemTrayIcon> 3 #include <QMessageBox> 2 4 3 5 #include "gui/main_window.h" … … 9 11 QApplication::setOrganizationName("lowblogprojects"); 10 12 13 if (!QSystemTrayIcon::isSystemTrayAvailable()) { 14 QMessageBox::critical(0, QObject::tr("Systray"), 15 QObject::tr("I couldn't detect any system tray on this system.")); 16 return 1; 17 } 18 11 19 MainWindow w; 12 20 w.show();
Note: See TracChangeset
for help on using the changeset viewer.
