projects
/
quassel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
ced47a8
)
Initially display the current color in KColorDialog
author
Manuel Nickschas
<sputnick@quassel-irc.org>
Thu, 30 Jul 2009 09:10:01 +0000
(11:10 +0200)
committer
Manuel Nickschas
<sputnick@quassel-irc.org>
Thu, 6 Aug 2009 18:25:58 +0000
(20:25 +0200)
When clicking on a ColorButton in KDE, we would start with white rather than
the button's current color.
src/uisupport/colorbutton.cpp
patch
|
blob
|
history
diff --git
a/src/uisupport/colorbutton.cpp
b/src/uisupport/colorbutton.cpp
index
15e9de4
..
c42f152
100644
(file)
--- a/
src/uisupport/colorbutton.cpp
+++ b/
src/uisupport/colorbutton.cpp
@@
-50,7
+50,7
@@
QColor ColorButton::color() const {
void ColorButton::chooseColor() {
#ifdef HAVE_KDE
- QColor c;
+ QColor c
= color()
;
KColorDialog::getColor(c, this);
#else
QColor c = QColorDialog::getColor(color(), this);