diff options
Diffstat (limited to 'main.cc')
-rw-r--r-- | main.cc | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -17,15 +17,18 @@ */ #include "mainwindow.h" -#include <QApplication> +#include <QtWidgets/QApplication> int main(int argc, char *argv[]) { + QApplication::setAttribute(Qt::AA_EnableHighDpiScaling); + QApplication::setAttribute(Qt::AA_UseHighDpiPixmaps); + QApplication app(argc, argv); app.setOrganizationName("scribiu"); app.setOrganizationDomain("com.javispedro.scribiu"); app.setApplicationName("scribiu"); - app.setApplicationVersion("1.0"); + app.setApplicationVersion("1.2"); MainWindow w; w.show(); |