summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qpalette.cpp
diff options
context:
space:
mode:
authorPierre Rossi <pierre.rossi@nokia.com>2010-07-23 12:53:58 (GMT)
committerPierre Rossi <pierre.rossi@nokia.com>2010-07-23 13:41:28 (GMT)
commit24cdab32de2abd8669f281dd54c8da1124514915 (patch)
treea55d4dc2a0fd8a5570d11efb458cbf9a7a67f78c /src/gui/kernel/qpalette.cpp
parent3124d14be27766ddf3c86528c913165e09317111 (diff)
downloadQt-24cdab32de2abd8669f281dd54c8da1124514915.zip
Qt-24cdab32de2abd8669f281dd54c8da1124514915.tar.gz
Qt-24cdab32de2abd8669f281dd54c8da1124514915.tar.bz2
Fix QLineEdit's Highlight color when inactive.
This commit also updates QPalette's documentation regarding the current ColorGroup and operator==. Task-number: QTBUG-697 Reviewed-by: ogoffart
Diffstat (limited to 'src/gui/kernel/qpalette.cpp')
-rw-r--r--src/gui/kernel/qpalette.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/gui/kernel/qpalette.cpp b/src/gui/kernel/qpalette.cpp
index 98e8f66..38ec806 100644
--- a/src/gui/kernel/qpalette.cpp
+++ b/src/gui/kernel/qpalette.cpp
@@ -868,11 +868,21 @@ void QPalette::detach()
Returns true (slowly) if this palette is different from \a p;
otherwise returns false (usually quickly).
+
+ \note The current ColorGroup is not taken into account when
+ comparing palettes
+
+ \sa operator==
*/
/*!
Returns true (usually quickly) if this palette is equal to \a p;
otherwise returns false (slowly).
+
+ \note The current ColorGroup is not taken into account when
+ comparing palettes
+
+ \sa operator!=
*/
bool QPalette::operator==(const QPalette &p) const
{