D13275: Teach ContainmentInterface::processMimeData how to handle Task Manager drops

Nathaniel Graham noreply at phabricator.kde.org
Sat Jun 2 05:42:03 UTC 2018


ngraham added a comment.


  Hmm, this doesn't build for me (Neon dev unstable, deps built from source):
  
    /home/dev/repos/plasma-framework/src/scriptengines/qml/plasmoid/containmentinterface.cpp: In member function 'void ContainmentInterface::processMimeData(QMimeData*, int, int, KIO::DropJob*)':
    /home/dev/repos/plasma-framework/src/scriptengines/qml/plasmoid/containmentinterface.cpp:455:52: error: 'mimeCopy' was not declared in this scope
             QList<QUrl> urls = {QUrl(QString::fromUtf8(mimeCopy->data(QStringLiteral("text/x-orgkd
                                                        ^
    /home/dev/repos/plasma-framework/src/scriptengines/qml/plasmoid/containmentinterface.cpp:455:126: error: could not convert '{<expression error>}' from '<brace-enclosed initializer list>' to 'QList<QUrl>'
     QString::fromUtf8(mimeCopy->data(QStringLiteral("text/x-orgkdeplasmataskmanager_taskurl"))))};

REPOSITORY
  R242 Plasma Framework (Library)

REVISION DETAIL
  https://phabricator.kde.org/D13275

To: hein, davidedmundson, Zren, mart
Cc: ngraham, zzag, kde-frameworks-devel, plasma-devel, michaelh, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180602/8fc82d38/attachment.html>


More information about the Plasma-devel mailing list