summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFrank Osterfeld <frank.osterfeld@kdab.com>2012-08-02 22:06:22 +0200
committerQt by Nokia <qt-info@nokia.com>2012-08-06 01:31:04 +0200
commit063e3a4da82a7ffb38afb26c3be0231e4e4dc37d (patch)
tree8b1dee61e7e4c1c64001b23514e06acfd5da5a36 /src
parent702788f4adef6c4dbc3144083c515a60274a3164 (diff)
Fix intended assignment to customSet variable.
The naming suggests that this variable should be set to true here (instead of leaving the expression result unused). Also, the variable isn't written to anywhere else. Change-Id: I8aae904f6e4456ce0bdd053ce89c2721168dccd3 Reviewed-by: Laszlo Papp <lpapp@kde.org> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Diffstat (limited to 'src')
-rw-r--r--src/gui/kernel/qplatformdialoghelper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/kernel/qplatformdialoghelper.cpp b/src/gui/kernel/qplatformdialoghelper.cpp
index f71c5e58de..bab6ee14f3 100644
--- a/src/gui/kernel/qplatformdialoghelper.cpp
+++ b/src/gui/kernel/qplatformdialoghelper.cpp
@@ -310,7 +310,7 @@ void QColorDialogOptions::setCustomColor(int index, QRgb color)
{
if (uint(index) >= uint(QColorDialogStaticData::CustomColorCount))
return;
- qColorDialogStaticData()->customSet;
+ qColorDialogStaticData()->customSet = true;
qColorDialogStaticData()->customRgb[index] = color;
}