diff options
author | Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com> | 2010-05-27 16:07:52 +0200 |
---|---|---|
committer | Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com> | 2010-05-27 16:21:29 +0200 |
commit | de7af4f22be85e3e31f2547f0bb9ca77a6e8b661 (patch) | |
tree | 987ba7a52abc7f49f4a5895974ac172543e4bb1a /src/plugins/coreplugin/generalsettings.cpp | |
parent | 5afeaa720dd193ea4f9f48fac11e9ae28393d372 (diff) | |
download | qt-creator-de7af4f22be85e3e31f2547f0bb9ca77a6e8b661.tar.gz |
Fixed the default UI color
When there was no existing configuration, it would get set to pure black
on startup, resulting in a very dark gray Qt Creator. Now it is back to
its old friendly gray as default color.
Also made sure that the default on startup and the color used for
resetting the UI color in the settings are always in sync.
Reviewed-by: Jens Bache-Wiig
Diffstat (limited to 'src/plugins/coreplugin/generalsettings.cpp')
-rw-r--r-- | src/plugins/coreplugin/generalsettings.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/coreplugin/generalsettings.cpp b/src/plugins/coreplugin/generalsettings.cpp index a9953bad69..12a719a1e8 100644 --- a/src/plugins/coreplugin/generalsettings.cpp +++ b/src/plugins/coreplugin/generalsettings.cpp @@ -237,7 +237,7 @@ void GeneralSettings::finish() void GeneralSettings::resetInterfaceColor() { - m_page->colorButton->setColor(0x666666); + m_page->colorButton->setColor(StyleHelper::DEFAULT_BASE_COLOR); } void GeneralSettings::resetExternalEditor() |