Labrador/Desktop_Interface/main.cpp

20 lines
347 B
C++

#include "mainwindow.h"
#include <QApplication>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
#ifdef PLATFORM_ANDROID
//Android default font sizes are just plain ridiculous
QFont font = qApp->font();
font.setPointSize(12);
qApp->setFont(font);
#endif
MainWindow w;
w.show();
return a.exec();
}