OSDN Git Service

Fixed the default UI color
authorThorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
Thu, 27 May 2010 14:07:52 +0000 (16:07 +0200)
committerThorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
Thu, 27 May 2010 14:21:29 +0000 (16:21 +0200)
commitde7af4f22be85e3e31f2547f0bb9ca77a6e8b661
tree987ba7a52abc7f49f4a5895974ac172543e4bb1a
parent5afeaa720dd193ea4f9f48fac11e9ae28393d372
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
src/libs/utils/stylehelper.cpp
src/libs/utils/stylehelper.h
src/plugins/coreplugin/generalsettings.cpp
src/plugins/coreplugin/mainwindow.cpp