Группа :: Графические оболочки/KDE
Пакет: plasma5-kmenuedit
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: alt-menueditor.patch
Скачать
Скачать
--- a/treeview.cpp
+++ b/treeview.cpp
@@ -271,7 +271,7 @@ TreeView::TreeView(KActionCollection *ac
connect(this, &QTreeWidget::currentItemChanged, this, &TreeView::itemSelected);
m_menuFile = new MenuFile(QStandardPaths::writableLocation(QStandardPaths::ConfigLocation) + QStringLiteral("/menus/") +
- QStringLiteral("applications-kmenuedit.menu"));
+ QStringLiteral("applications-menueditor.menu"));
m_rootFolder = new MenuFolderInfo;
m_separator = new MenuSeparatorInfo;
}
@@ -1762,7 +1762,7 @@ void TreeView::restoreMenuSystem()
if (KMessageBox::warningYesNo(this, i18n("Do you want to restore the system menu? Warning: This will remove all custom menus.")) == KMessageBox::No) {
return;
}
- const QString kmenueditfile = QStandardPaths::writableLocation(QStandardPaths::ConfigLocation) + QStringLiteral("/menus/applications-kmenuedit.menu");
+ const QString kmenueditfile = QStandardPaths::writableLocation(QStandardPaths::ConfigLocation) + QStringLiteral("/menus/applications-menueditor.menu");
if (QFile::exists(kmenueditfile)) {
if (!QFile::remove(kmenueditfile)) {
qCWarning(KMENUEDIT_LOG) << "Could not delete " << kmenueditfile;