X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=locationbox.cpp;h=24684344dc20bf8d4a6b5f6699248de72ba3d30a;hb=36939412a9beff7e2eac9f679577a181654b007c;hp=f801e9467254c5bb43f17ede7e6d55aae01484b0;hpb=7f92c97d9c9953ee4edabf4c84628c9aad2545ad;p=gefu%2FGefu.git diff --git a/locationbox.cpp b/locationbox.cpp index f801e94..2468434 100644 --- a/locationbox.cpp +++ b/locationbox.cpp @@ -24,7 +24,7 @@ void LocationBox::updateAppearance(bool darker) QPalette pal = palette(); int darkness = 100; - if (darker && settings.value(IniKey_EnableDarker).toBool()) { + if (darker) { darkness += settings.value(IniKey_Darkness).toInt(); } pal.setColor(QPalette::Base, settings.value(IniKey_BoxColorBg).value().darker(darkness));