mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-07-10 23:55:58 +08:00
修改 搜索框事件
This commit is contained in:
parent
514be30e04
commit
e0639a5855
@ -399,8 +399,10 @@ void Widget::searchApp(QString text)
|
||||
if(text.left(6)=="spk://"){
|
||||
openUrl(text);
|
||||
}else {
|
||||
ui->webView->setUrl(QUrl("http://www.baidu.com/s?wd="+text));
|
||||
ui->stackedWidget->setCurrentIndex(0);
|
||||
system("notify-send 目前仅支持商店专用链接的打开,搜索功能正在开发,请期待以后的版本! --icon=spark-store");
|
||||
// ui->webView->setUrl(QUrl("http://www.baidu.com/s?wd="+text));
|
||||
// ui->stackedWidget->setCurrentIndex(0);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user