diff --git a/src/gui/platform/darwin/qmacmime.mm b/src/gui/platform/darwin/qmacmime.mm index f66580551a..6e588f2ca0 100644 --- a/src/gui/platform/darwin/qmacmime.mm +++ b/src/gui/platform/darwin/qmacmime.mm @@ -664,7 +664,8 @@ QList QMacPasteboardMimeFileUri::convertFromMime(const QString &mime url.setHost(QLatin1String("localhost")); url.setPath(url.path().normalized(QString::NormalizationForm_D)); } - ret.append(url.toEncoded()); + if (url.isLocalFile()) + ret.append(url.toEncoded()); } return ret; }