Fix the use of Qt::GlobalColor with QVariant.
authorStephen Kelly <stephen.kelly@kdab.com>
Tue, 9 Oct 2012 16:20:22 +0000 (18:20 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 10 Oct 2012 06:16:05 +0000 (08:16 +0200)
commit850a089cf7df44b5a82d8ced0e4fd3e2db369e28
treed11ee2e87ed07b85070ee5a08428d48b3fa2d7f9
parent3664d2800c865c5adc51a1f23fc96f273a2c7170
Fix the use of Qt::GlobalColor with QVariant.

Before the patch, the code is setting an integer value, not a color.

Change-Id: I387759ac74149d5dea27ae59491682d63f37f843
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
src/designer/src/components/signalsloteditor/connectdialog.cpp
src/designer/src/components/signalsloteditor/signalsloteditorwindow.cpp