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

19 lines
493 B

#include <QApplication>
#include <QSettings>
#include "mainwindow.h"
int main(int argc, char *argv[]) {
QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
QApplication app(argc, argv);
app.setOrganizationName("twofap");
app.setApplicationName("twofap");
app.setApplicationVersion("1.0.1");
QSettings::setDefaultFormat(QSettings::IniFormat);
MainWindow w;
w.setWindowTitle(app.applicationName() + " " + app.applicationVersion());
w.show();
return app.exec();
}