summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDavid Faure <faure@kde.org>2012-04-02 11:42:26 +0200
committerQt by Nokia <qt-info@nokia.com>2012-07-08 10:36:51 +0200
commitb069158ed35e7d39c3ac56ce4844c6ff1d69451f (patch)
tree6356bbd180236e082196caa70b0db42576599719 /lib
parent32db7de2079967fe1c333c562b742318c50321a4 (diff)
Fix QMimeType::operator== to only compare mimetype names.
The name is the unique identifier. Code such as if (oldItem.mimeType() == newItem.mimeType()) really wants to detect whether the item has a new mimetype (name), not compare static mimetype data such as comments and icons. Change-Id: I5fe56443295c91e1024c066ad6e7f93d842ae507 Reviewed-by: Wolf-Michael Bolle <wolf-michael.bolle@nokia.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions