[kde-doc-english] [trojita] src/Gui: GUI: don't forget to set proper text color in non-default backgrounds

Jan Kundrát jkt at flaska.net
Tue Feb 5 22:28:04 UTC 2013


Git commit ab98655c30c8166090608ab9015375921dc4ba8a by Jan Kundrát.
Committed on 05/02/2013 at 23:25.
Pushed by jkt into branch 'master'.

GUI: don't forget to set proper text color in non-default backgrounds

Thanks to "serpentine" on IRC for this feedback.

M  +1    -1    src/Gui/SettingsDialog.cpp

http://commits.kde.org/trojita/ab98655c30c8166090608ab9015375921dc4ba8a

diff --git a/src/Gui/SettingsDialog.cpp b/src/Gui/SettingsDialog.cpp
index fd8ee93..72d616d 100644
--- a/src/Gui/SettingsDialog.cpp
+++ b/src/Gui/SettingsDialog.cpp
@@ -49,7 +49,7 @@
 namespace Gui
 {
 
-QString SettingsDialog::warningStyleSheet = QLatin1String("border: 2px solid red; background-color: #E7C575; "
+QString SettingsDialog::warningStyleSheet = QLatin1String("border: 2px solid red; background-color: #E7C575; color: black; "
         "font-weight: bold; padding: 5px; margin: 5px; "
         "text-align: center;");
 


More information about the kde-doc-english mailing list