Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
BornAgain
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mlz
BornAgain
Merge requests
!711
UI style corrections
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
UI style corrections
style
into
main
Overview
1
Commits
2
Pipelines
1
Changes
2
Merged
m.puchner
requested to merge
style
into
main
3 years ago
Overview
1
Commits
2
Pipelines
1
Changes
2
Expand
See commit messages
0
0
Merge request reports
Compare
main
main (base)
and
latest version
latest version
0b789038
2 commits,
3 years ago
2 files
+
7
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
GUI/Application/ApplicationSettings.cpp
+
2
−
2
Options
@@ -23,7 +23,7 @@
namespace
{
const
QString
S_CREATE_NEW_PROJECT_ON_STARTUP
=
"CreateNewProjectOnStartup"
;
const
QString
S_STYLE
=
"Style"
;
const
QString
S_STYLE
=
"
Ui
Style"
;
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
)
Loading