texinfo-commits
[Top][All Lists]
Advanced

[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:34 -0500 (EST)

branch: old/qt-info
commit a8182b37b5b356e938b16d099ebdb5dd125521a3
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Sun Apr 7 15:54:14 2019 +0100

    change init to wc_init
---
 js/docbrowser/mainwindow.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/js/docbrowser/mainwindow.cpp b/js/docbrowser/mainwindow.cpp
index a10e4d43a8..b9c95502d7 100644
--- a/js/docbrowser/mainwindow.cpp
+++ b/js/docbrowser/mainwindow.cpp
@@ -76,7 +76,7 @@ MainWindow::inject_qwebchannel(bool finished_ok)
     ui->webEngineView->page()->runJavaScript (qwebchannel_js,
       [this](const QVariant&) {
           this->ui->webEngineView->page()->runJavaScript(
-                          "if (typeof init == 'function') { init(); }",
+                 "if (typeof wc_init == 'function') { wc_init(); }",
                           0 );
       });
 }



reply via email to

[Prev in Thread] Current Thread [Next in Thread]