fix QMimeData copy, setData is hidden and the real setData will not be used.
This commit is contained in:
parent
db1d3d37e9
commit
ffabd94938
@ -48,7 +48,7 @@ DeclarativeMimeData::DeclarativeMimeData(const QMimeData* copy)
|
|||||||
{
|
{
|
||||||
// Copy the standard MIME data
|
// Copy the standard MIME data
|
||||||
foreach(QString format, copy->formats()) {
|
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
|
// If the object we are copying actually is a DeclarativeMimeData, copy our extended properties as well
|
||||||
|
Loading…
Reference in New Issue
Block a user