diff --git a/containments/homescreen/contents/ui/HomeLauncher.qml b/containments/homescreen/contents/ui/HomeLauncher.qml index a12fecef..ffd23976 100644 --- a/containments/homescreen/contents/ui/HomeLauncher.qml +++ b/containments/homescreen/contents/ui/HomeLauncher.qml @@ -12,7 +12,7 @@ Item { property bool isDropTarget: delegateRoot != dragDelegate && root.reorderingApps && applicationsView.dragData && applicationsView.dragData.ApplicationStorageIdRole == modelData.ApplicationStorageIdRole opacity: isDropTarget ? 0.3 : 1 -onModelDataChanged:print("AAAA"); + PlasmaCore.IconItem { id: icon anchors.centerIn: parent diff --git a/qmlcomponents/applicationlistmodel.cpp b/qmlcomponents/applicationlistmodel.cpp index 77f54e0d..540161bc 100644 --- a/qmlcomponents/applicationlistmodel.cpp +++ b/qmlcomponents/applicationlistmodel.cpp @@ -205,7 +205,8 @@ void ApplicationListModel::runApplication(const QString &storageId) KService::Ptr service = KService::serviceByStorageId(storageId); - QProcess::startDetached(service->exec()); + //ignore parameters like %u + QProcess::startDetached(service->exec().replace(QRegExp("%\\w"), "")); } QStringList ApplicationListModel::appOrder() const