Merge branch '1103frontend' into 'new-frontend'

The ukui-control center has modified the jump commands for project sp2 and...

See merge request kylin-desktop/ukui-search!185
This commit is contained in:
PengfeiZhang 2021-11-08 01:26:12 +00:00
commit 13b269b989
2 changed files with 3 additions and 3 deletions

View File

@ -282,7 +282,7 @@ void MainWindow::settingsBtnClickedSlot()
#if (QT_VERSION >= QT_VERSION_CHECK(5, 12, 0)) #if (QT_VERSION >= QT_VERSION_CHECK(5, 12, 0))
//打开控制面板的设置页 //打开控制面板的设置页
QProcess process; QProcess process;
process.startDetached("ukui-control-center --search"); process.startDetached("ukui-control-center -m search");
#endif #endif
} }

View File

@ -261,9 +261,9 @@ void SettingsSearchPlugin::openAction(int actionkey, QString key, int type)
case 0: case 0:
//打开控制面板对应页面 //打开控制面板对应页面
if (key.left(key.indexOf("/")).toLower() == "wallpaper") if (key.left(key.indexOf("/")).toLower() == "wallpaper")
process.startDetached(QString("ukui-control-center --background")); process.startDetached(QString("ukui-control-center -m background"));
else 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; break;
default: default: