File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77#include < QMessageBox>
88#include < QResource>
99#include < QStandardPaths>
10+ #include < QStyleFactory>
1011#include < QSurfaceFormat>
1112#include < iostream>
1213
1819// vtk
1920#include < Applications/Configuration.h>
2021#include < Interface/ShapeWorksStudioApp.h>
22+ #include < Utils/PlatformUtils.h>
2123#include < Logging.h>
2224#include < QVTKOpenGLNativeWidget.h>
2325
@@ -107,6 +109,9 @@ int main(int argc, char** argv) {
107109 SW_LOG (" ShapeWorks Studio " SHAPEWORKS_VERSION " initializing..." );
108110
109111 OverrideQApplication app (argc, argv);
112+ if (PlatformUtils::is_windows ()) {
113+ app.setStyle (QStyleFactory::create (" Fusion" ));
114+ }
110115 QLocale::setDefault (QLocale (QLocale::English, QLocale::UnitedStates));
111116
112117 auto studio_app = QSharedPointer<ShapeWorksStudioApp>::create ();
You can’t perform that action at this time.
0 commit comments