summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets/qtabwidget.h
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-12-08 11:15:19 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2009-12-09 08:59:41 (GMT)
commitd5d39f04c2c473401e9147d57d5a7c62f6111656 (patch)
treee622a118ee8bad5561d913b84af4be591d37187d /src/gui/widgets/qtabwidget.h
parent5a700d89a2263bcfc91d785c1ed444b1ecdacf83 (diff)
downloadQt-d5d39f04c2c473401e9147d57d5a7c62f6111656.zip
Qt-d5d39f04c2c473401e9147d57d5a7c62f6111656.tar.gz
Qt-d5d39f04c2c473401e9147d57d5a7c62f6111656.tar.bz2
Fix regression in qVariantFromValue when converting from complex type to simple type
QVariant v = QColor(Qt::red); v.setValue(1000); Would produce a variant with garbage. the destructor of QColor would not be called, and the 1000 would be in the QVariant::PrivateShared, while most of the QVariant code assume that numbers are dirrectly in the QVariant::Data union Task-number: QTBUG-6602 Reviewed-by: Thierry
Diffstat (limited to 'src/gui/widgets/qtabwidget.h')
0 files changed, 0 insertions, 0 deletions