From 063e3a4da82a7ffb38afb26c3be0231e4e4dc37d Mon Sep 17 00:00:00 2001 From: Frank Osterfeld Date: Thu, 2 Aug 2012 22:06:22 +0200 Subject: 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 Reviewed-by: Friedemann Kleint --- src/gui/kernel/qplatformdialoghelper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; } -- cgit v1.2.3