Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
8ebe4e90
Commit
8ebe4e90
authored
Mar 16, 2010
by
Tobias Hunger
Browse files
Fix override color beeing saved
Reviewed-by: jbache
parent
9a51a371
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/coreplugin/mainwindow.cpp
View file @
8ebe4e90
...
...
@@ -1104,10 +1104,13 @@ void MainWindow::readSettings()
{
m_settings
->
beginGroup
(
QLatin1String
(
settingsGroup
));
if
(
m_overrideColor
.
isValid
())
if
(
m_overrideColor
.
isValid
())
{
Utils
::
StyleHelper
::
setBaseColor
(
m_overrideColor
);
else
// Get adapted base color.
m_overrideColor
=
Utils
::
StyleHelper
::
baseColor
();
}
else
{
Utils
::
StyleHelper
::
setBaseColor
(
m_settings
->
value
(
QLatin1String
(
colorKey
)).
value
<
QColor
>
());
}
const
QVariant
geom
=
m_settings
->
value
(
QLatin1String
(
geometryKey
));
if
(
geom
.
isValid
())
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment