[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [konsole] src: Set current color as selected in QColorDialog::getColor()
From: Kurt Hindenburg <kurt.hindenburg () gmail ! com>
Date: 2015-01-31 20:36:56
Message-ID: E1YHemm-0006tb-QE () scm ! kde ! org
[Download RAW message or body]
Git commit 4cc527b395f86939786d643838ab16241b927b60 by Kurt Hindenburg.
Committed on 31/01/2015 at 20:34.
Pushed by hindenburg into branch 'master'.
Set current color as selected in QColorDialog::getColor()
Fix regression where each color selected started as green.
Thanks Boris Egorov egorov linux com for fix
BUG: 343378
REVIEW: 122345
M +1 -1 src/ColorSchemeEditor.cpp
http://commits.kde.org/konsole/4cc527b395f86939786d643838ab16241b927b60
diff --git a/src/ColorSchemeEditor.cpp b/src/ColorSchemeEditor.cpp
index d821d5d..8ccc2b3 100644
--- a/src/ColorSchemeEditor.cpp
+++ b/src/ColorSchemeEditor.cpp
@@ -155,7 +155,7 @@ void ColorSchemeEditor::editColorItem(QTableWidgetItem* item)
}
QColor color = item->background().color();
- color = QColorDialog::getColor();
+ color = QColorDialog::getColor(color);
if ( color.isValid() ) {
item->setBackground(color);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic