Skip to content
Snippets Groups Projects
Commit 3df039a4 authored by m.puchner's avatar m.puchner
Browse files

Merge branch 'style' into 'main'

UI style corrections

See merge request !711
parents 1d07facb 0b789038
No related branches found
No related tags found
1 merge request!711UI style corrections
Pipeline #57841 passed
......@@ -23,7 +23,7 @@
namespace {
const QString S_CREATE_NEW_PROJECT_ON_STARTUP = "CreateNewProjectOnStartup";
const QString S_STYLE = "Style";
const QString S_STYLE = "UiStyle";
const QString S_SIZE = "Size";
const QString S_POS = "Pos";
const QString S_DEFAULT_FUNCTIONALITIES = "DefaultFunctionalities";
......@@ -62,7 +62,7 @@ void ApplicationSettings::setCreateNewProjectOnStartup(bool b)
ApplicationSettings::Style ApplicationSettings::styleToUse() const
{
return static_cast<Style>(QSettings().value(S_STYLE, static_cast<int>(Style::native)).toInt());
return static_cast<Style>(QSettings().value(S_STYLE, static_cast<int>(Style::light)).toInt());
}
void ApplicationSettings::setStyleToUse(Style style)
......
......@@ -263,7 +263,11 @@ void ActionManager::onAboutToShowSettingsMenu()
addStyleAction("Native style", ApplicationSettings::Style::native);
addStyleAction("Light style", ApplicationSettings::Style::light);
addStyleAction("Dark style", ApplicationSettings::Style::dark);
// The following menu entry is commented since the dark style is not completed so far. Once it
// is complete, just uncomment the line. See also issue #220
//
// addStyleAction("Dark style", ApplicationSettings::Style::dark);
}
void ActionManager::onAboutToShowViewMenu()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment