[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 );
});
}
- branch old/qt-info created (now e2d72c0f4f), 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