mirror of
https://github.com/kiwix/kiwix-desktop.git
synced 2025-09-22 19:46:12 -04:00
We should use the zimId as host in search.
Fix bug instroduced with 7408bb0a
This commit is contained in:
parent
7fa49479a9
commit
d2e32dbf79
@ -64,7 +64,7 @@ void SearchBar::openTitle()
|
|||||||
|
|
||||||
QUrl qurl;
|
QUrl qurl;
|
||||||
qurl.setScheme("zim");
|
qurl.setScheme("zim");
|
||||||
qurl.setHost(qurl.host());
|
qurl.setHost(zimId);
|
||||||
qurl.setPath("/" + QString::fromStdString(path));
|
qurl.setPath("/" + QString::fromStdString(path));
|
||||||
QTimer::singleShot(0, [=](){KiwixApp::instance()->openUrl(qurl, true);});
|
QTimer::singleShot(0, [=](){KiwixApp::instance()->openUrl(qurl, true);});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user