fix QMimeData copy, setData is hidden and the real setData will not be used.

This commit is contained in:
Weng Xuetian 2012-12-22 21:43:01 -05:00
parent 4285a1ff09
commit 31fdd51401

View File

@ -48,7 +48,7 @@ DeclarativeMimeData::DeclarativeMimeData(const QMimeData* copy)
{
// Copy the standard MIME data
foreach(QString format, copy->formats()) {
this->setData(format, copy->data(format));
QMimeData::setData(format, copy->data(format));
}
// If the object we are copying actually is a DeclarativeMimeData, copy our extended properties as well