Hi, all when you drag more than one desktop files from dolphin into quicklaunch, the last desktop will not be inserted into quicklaunch.
And the author comments "if there are more than one the last is junk". I don't understand it, so I delete it. Regards -- 潘卫平(Peter Pan) Red Flag Software Co., Ltd
Index: quicklaunchApplet.cpp =================================================================== --- quicklaunchApplet.cpp (revision 1010790) +++ quicklaunchApplet.cpp (working copy) @@ -664,11 +664,6 @@ return false; } - //if there are more than one the last is junk - if (urls.count() > 1) { - urls.removeLast(); - } - foreach (const KUrl &url, urls) { if (KDesktopFile::isDesktopFile(url.toLocalFile())) { addProgram(pos, url.toLocalFile(), true);
_______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel