summaryrefslogtreecommitdiffstats
path: root/src/gui/dialogs/qcolordialog.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2009-06-24 23:16:41 +0200
committerThiago Macieira <thiago.macieira@nokia.com>2009-06-24 23:16:41 +0200
commitfd5c6436d4be5ce6db57a8a34951c8ab4dac9000 (patch)
tree2b2ce0df9cd0bfcc1c8a0566668c92df8be94206 /src/gui/dialogs/qcolordialog.cpp
parent117b9bb3d576d9974b3d05174d1fccf98e47cb22 (diff)
parent5f5cf5b798cc7e65e47987b654beaf9d762406eb (diff)
Merge branch '4.5'
Conflicts: tests/auto/qsqldatabase/tst_databases.h
Diffstat (limited to 'src/gui/dialogs/qcolordialog.cpp')
-rw-r--r--src/gui/dialogs/qcolordialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/dialogs/qcolordialog.cpp b/src/gui/dialogs/qcolordialog.cpp
index 416e14ab60..42d3a9a3e2 100644
--- a/src/gui/dialogs/qcolordialog.cpp
+++ b/src/gui/dialogs/qcolordialog.cpp
@@ -1262,7 +1262,7 @@ void QColorShower::retranslateStrings()
void QColorShower::updateQColor()
{
QColor oldQColor(curQColor);
- curQColor.setRgba(qRgba(qRed(curCol), qGreen(curCol), qBlue(curCol), qAlpha(curCol)));
+ curQColor.setRgba(qRgba(qRed(curCol), qGreen(curCol), qBlue(curCol), currentAlpha()));
if (curQColor != oldQColor)
emit currentColorChanged(curQColor);
}