--- a/src/main.cpp Thu Jul 14 16:47:59 2022 +0300 +++ b/src/main.cpp Wed Jul 20 12:59:07 2022 +0300 @@ -86,6 +86,7 @@ qRegisterMetaTypeStreamOperators<Libraries>("Libraries"); qRegisterMetaTypeStreamOperators<gl::RenderStyle>(); qRegisterMetaTypeStreamOperators<QMdiArea::ViewMode>(); + qRegisterMetaTypeStreamOperators<Qt::ToolButtonStyle>(); #endif } @@ -494,6 +495,7 @@ updateRenderPreferences(&ui, &renderPreferences, &documents); ui.mdiArea->setViewMode(setting<Setting::ViewMode>()); ui.retranslateUi(&mainWindow); + mainWindow.setToolButtonStyle(setting<Setting::ToolButtonStyle>()); settingsChanged.emit(); }; const auto addRecentlyOpenedFile = [&](const QString& path){