You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
451 B
C++

#include "cmainwindow.h"
#include <QApplication>
#include <QSettings>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
a.setApplicationDisplayName("workingHours");
a.setOrganizationName("WIN-DESIGN");
a.setOrganizationDomain("windesign.at");
a.setApplicationName("workingHours");
QSettings settings;
cMainWindow w;
if(settings.value("main/maximized").toBool())
w.showMaximized();
else
w.show();
return a.exec();
}