This commit is contained in:
dushyant basson
2023-09-05 18:23:49 +05:30
committed by Thomas Krijnen
parent 9e9b294f44
commit d2f331c813
+2 -1
View File
@@ -5,7 +5,6 @@
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
qreal dpiScale = app.devicePixelRatio();
// Set the icon in the window title-bar on mswindows
// and dock icon on macos.
@@ -16,6 +15,8 @@ int main(int argc, char *argv[])
// mswindows - .rc file
// macos - .icns file (using CMake)
qreal dpiScale = app.devicePixelRatio();
MainWindow window(dpiScale);
window.show();