The ukui-control center has modified the jump commands for project sp2 and project ukui-3.1,and the ukui-search needs to be modified accordingliy.
This commit is contained in:
parent
1f1a4e061d
commit
338ffe6dad
|
@ -282,7 +282,7 @@ void MainWindow::settingsBtnClickedSlot()
|
|||
#if (QT_VERSION >= QT_VERSION_CHECK(5, 12, 0))
|
||||
//打开控制面板的设置页
|
||||
QProcess process;
|
||||
process.startDetached("ukui-control-center --search");
|
||||
process.startDetached("ukui-control-center -m search");
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
@ -261,9 +261,9 @@ void SettingsSearchPlugin::openAction(int actionkey, QString key, int type)
|
|||
case 0:
|
||||
//打开控制面板对应页面
|
||||
if (key.left(key.indexOf("/")).toLower() == "wallpaper")
|
||||
process.startDetached(QString("ukui-control-center --background"));
|
||||
process.startDetached(QString("ukui-control-center -m background"));
|
||||
else
|
||||
process.startDetached(QString("ukui-control-center --%1").arg(key.left(key.indexOf("/")).toLower()));
|
||||
process.startDetached(QString("ukui-control-center -m %1").arg(key.left(key.indexOf("/")).toLower()));
|
||||
break;
|
||||
|
||||
default:
|
||||
|
|
Loading…
Reference in New Issue