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
This commit is contained in:
Thorbjørn Lindeijer
2010-05-27 16:07:52 +02:00
parent 5afeaa720d
commit de7af4f22b
4 changed files with 9 additions and 4 deletions

View File

@@ -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()