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.
23 lines
445 B
C++
23 lines
445 B
C++
#include "cmainwindow.h"
|
|
#include <QApplication>
|
|
#include <QSettings>
|
|
|
|
int main(int argc, char *argv[])
|
|
{
|
|
QApplication a(argc, argv);
|
|
|
|
QCoreApplication::setOrganizationName("WIN-DESIGN");
|
|
QCoreApplication::setOrganizationDomain("windesign.at");
|
|
QCoreApplication::setApplicationName("qtSerien");
|
|
|
|
QSettings settings;
|
|
|
|
cMainWindow w;
|
|
if(settings.value("main/maximized").toBool())
|
|
w.showMaximized();
|
|
else
|
|
w.show();
|
|
|
|
return a.exec();
|
|
}
|