summaryrefslogtreecommitdiffstats
path: root/src/widgets/dialogs/qcolordialog_p.h
diff options
context:
space:
mode:
authorSérgio Martins <sergio.martins@kdab.com>2014-12-26 12:56:11 +0000
committerSérgio Martins <sergio.martins@kdab.com>2015-01-06 14:52:48 +0100
commit5b4f875e129369d92af2e6d9e9eeef019ce10cd1 (patch)
treea96644ae7793c564f45d2a4fae87668b7edbd2aa /src/widgets/dialogs/qcolordialog_p.h
parentebd7df6e5794bbfe4e283f1bed9ac18bf6974d51 (diff)
QColorDialog: Fix flickering when using "Pick screen color"
With non-monospaced fonts the dialog constantly resized itself when hovering with the mouse. This patch has the side effect of fixing another annoyance. Don't present duplicated information to the user, the color name is already shown in the HTML line edit and it's also updated dynamically. Task-number: QTBUG-43448 Change-Id: Ieaeda2a5b876cf15391616aed7d30ed352b463df Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Diffstat (limited to 'src/widgets/dialogs/qcolordialog_p.h')
-rw-r--r--src/widgets/dialogs/qcolordialog_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/widgets/dialogs/qcolordialog_p.h b/src/widgets/dialogs/qcolordialog_p.h
index c2d6f48f49..7e6c8b1231 100644
--- a/src/widgets/dialogs/qcolordialog_p.h
+++ b/src/widgets/dialogs/qcolordialog_p.h
@@ -104,6 +104,7 @@ public:
void _q_newCustom(int, int);
void _q_newStandard(int, int);
void _q_pickScreenColor();
+ void updateColorLabelText(const QPoint &);
void releaseColorPicking();
bool handleColorPickingMouseMove(QMouseEvent *e);
bool handleColorPickingMouseButtonRelease(QMouseEvent *e);