[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
From: |
Gavin D. Smith |
Date: |
Wed, 30 Nov 2022 13:36:44 -0500 (EST) |
branch: old/qt-info
commit f3dad537116c3ddbd0d43a6e9e57f1936d74b4fe
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Sat Apr 20 12:05:35 2019 +0100
do not call with_sidebar_query
---
js/docbrowser/mainwindow.cpp | 2 +-
js/docbrowser/qtinfo.js | 11 ++---------
2 files changed, 3 insertions(+), 10 deletions(-)
diff --git a/js/docbrowser/mainwindow.cpp b/js/docbrowser/mainwindow.cpp
index 926b3dfb2a..aa8275a23e 100644
--- a/js/docbrowser/mainwindow.cpp
+++ b/js/docbrowser/mainwindow.cpp
@@ -42,7 +42,7 @@ MainWindow::MainWindow(QWidget *parent) :
ui->webEngineView->setPage(page);
-#define MANUAL "elisp"
+#define MANUAL "hello"
qDebug() << "LOAD URL";
load_url (QString("file:") + this->datadir + "/test/" MANUAL
"/index.html");
diff --git a/js/docbrowser/qtinfo.js b/js/docbrowser/qtinfo.js
index 9f204ba549..85fa9ce098 100644
--- a/js/docbrowser/qtinfo.js
+++ b/js/docbrowser/qtinfo.js
@@ -65,15 +65,8 @@ function wc_init()
alert("asked to go to " + url);
});
- channel.objects.core.set_current_url.connect(function(anchor) {
- /* For deferring the link conversion, as running fix_links on
- a large index is very slow.
- If the links have been converted already (the case for menus),
- this works anyway: running with_sidebar_query on text already
- in 'linkid' format doesn't change it. */
-
- var linkid = with_sidebar_query (anchor)
- store.dispatch (actions.set_current_url (href_hash (linkid)));
+ channel.objects.core.set_current_url.connect(function(url) {
+ store.dispatch (actions.set_current_url (url));
});
channel.objects.core.search.connect(function(string) {
- [no subject], (continued)
- [no subject], Gavin D. Smith, 2022/11/30
- [no subject], Gavin D. Smith, 2022/11/30
- [no subject], Gavin D. Smith, 2022/11/30
- [no subject], Gavin D. Smith, 2022/11/30
- [no subject], Gavin D. Smith, 2022/11/30
- [no subject], Gavin D. Smith, 2022/11/30
- [no subject], Gavin D. Smith, 2022/11/30
- [no subject], Gavin D. Smith, 2022/11/30
- [no subject], Gavin D. Smith, 2022/11/30
- [no subject], Gavin D. Smith, 2022/11/30
- [no subject],
Gavin D. Smith <=
- [no subject], Gavin D. Smith, 2022/11/30
- [no subject], Gavin D. Smith, 2022/11/30
- [no subject], Gavin D. Smith, 2022/11/30
- [no subject], Gavin D. Smith, 2022/11/30
- [no subject], Gavin D. Smith, 2022/11/30
- [no subject], Gavin D. Smith, 2022/11/30
- [no subject], Gavin D. Smith, 2022/11/30
- [no subject], Gavin D. Smith, 2022/11/30
- [no subject], Gavin D. Smith, 2022/11/30
- [no subject], Gavin D. Smith, 2022/11/30