Update SbieView.cpp

This commit is contained in:
DavidXanatos 2023-07-22 18:52:52 +02:00
parent 133493cd15
commit dc5a2013c8
1 changed files with 1 additions and 1 deletions

View File

@ -1809,7 +1809,7 @@ void CSbieView::OnMenuContextMenu(const QPoint& point)
if (FoundPin.isEmpty()) { if (FoundPin.isEmpty()) {
QVariantMap Entry; QVariantMap Entry;
Entry["Name"] = pAction->text(); Entry["Name"] = pAction->text();
Entry["Icon"] = pAction->property("Icon").toString() + "," + pAction->property("IconIndex").toString(); Entry["Icon"] = pBoxPlus->MakeBoxCommand(pAction->property("Icon").toString()) + "," + pAction->property("IconIndex").toString();
Entry["WorkingDir"] = pBoxPlus->MakeBoxCommand(pAction->property("WorkingDir").toString()); Entry["WorkingDir"] = pBoxPlus->MakeBoxCommand(pAction->property("WorkingDir").toString());
Entry["Command"] = "\"" + pBoxPlus->MakeBoxCommand(LinkTarget) + "\""; Entry["Command"] = "\"" + pBoxPlus->MakeBoxCommand(LinkTarget) + "\"";
m_pCtxPinToRun->setData(MakeRunEntry(Entry)); m_pCtxPinToRun->setData(MakeRunEntry(Entry));