mirror of https://gitee.com/openkylin/peony.git
UI层规避该问题
This commit is contained in:
parent
97d94d5d3e
commit
655a9989bb
|
@ -1203,6 +1203,10 @@ void MainWindow::updateSearch(const QString &uri, const QString &key, bool updat
|
|||
isSearchEngine = false;
|
||||
}
|
||||
|
||||
if (!m_last_search_path.startsWith("file:///") && !m_last_search_path.startsWith("computer:///")) {
|
||||
isSearchEngine = false;
|
||||
}
|
||||
|
||||
auto targetUri = Peony::SearchVFSUriParser::parseSearchKey(m_last_search_path,
|
||||
m_last_key, true, false, "", true);
|
||||
targetUri = Peony::SearchVFSUriParser::addSearchKey(targetUri, isSearchEngine);
|
||||
|
|
Loading…
Reference in New Issue