mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-19 06:39:13 +00:00
update
This commit is contained in:
committed by
Thomas Krijnen
parent
9e9b294f44
commit
d2f331c813
@@ -5,7 +5,6 @@
|
|||||||
int main(int argc, char *argv[])
|
int main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
QApplication app(argc, argv);
|
QApplication app(argc, argv);
|
||||||
qreal dpiScale = app.devicePixelRatio();
|
|
||||||
|
|
||||||
// Set the icon in the window title-bar on mswindows
|
// Set the icon in the window title-bar on mswindows
|
||||||
// and dock icon on macos.
|
// and dock icon on macos.
|
||||||
@@ -16,6 +15,8 @@ int main(int argc, char *argv[])
|
|||||||
// mswindows - .rc file
|
// mswindows - .rc file
|
||||||
// macos - .icns file (using CMake)
|
// macos - .icns file (using CMake)
|
||||||
|
|
||||||
|
qreal dpiScale = app.devicePixelRatio();
|
||||||
|
|
||||||
MainWindow window(dpiScale);
|
MainWindow window(dpiScale);
|
||||||
|
|
||||||
window.show();
|
window.show();
|
||||||
|
|||||||
Reference in New Issue
Block a user