diff --git a/pptk/viewer/main.cpp b/pptk/viewer/main.cpp index 2fcc624..00e8200 100644 --- a/pptk/viewer/main.cpp +++ b/pptk/viewer/main.cpp @@ -8,6 +8,7 @@ int main(int argc, char* argv[]) { qDebug() << "usage: viewer "; return 1; } + QCoreApplication::setAttribute(Qt::AA_DisableHighDpiScaling); QApplication a(argc, argv); unsigned short clientPort = (unsigned short)atoi(argv[1]); Viewer viewer(clientPort);