|
|
@ -112,6 +112,7 @@ Main::Main(QWidget *parent) : |
|
|
|
{ |
|
|
|
setWindowFlags(Qt::Window); |
|
|
|
ui->setupUi(this); |
|
|
|
QtWebEngine::initialize(); |
|
|
|
g_logPost = [=](string const& s, char const* c) |
|
|
|
{ |
|
|
|
simpleDebugOut(s, c); |
|
|
@ -171,7 +172,7 @@ Main::Main(QWidget *parent) : |
|
|
|
ui->tabWidget->setTabText(0, ui->webView->title()); |
|
|
|
}); |
|
|
|
|
|
|
|
ui->webView->page()->settings()->setAttribute(QWebEngineSettings::DeveloperExtrasEnabled, true); |
|
|
|
// ui->webView->page()->settings()->setAttribute(QWebEngineSettings::DeveloperExtrasEnabled, true);
|
|
|
|
// QWebEngineInspector* inspector = new QWebEngineInspector();
|
|
|
|
// inspector->setPage(page);
|
|
|
|
readSettings(); |
|
|
|