Improve comment in web page code

This commit is contained in:
Martchus 2024-04-08 18:10:06 +02:00
parent 21144421de
commit 3fc7fbd542
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ WebPage::WebPage(WebViewDialog *dlg, SYNCTHINGWIDGETS_WEB_VIEW *view)
#else #else
connect(this->mainFrame(), &QWebFrame::urlChanged, this, &WebPage::delegateNewWindowToExternalBrowser); connect(this->mainFrame(), &QWebFrame::urlChanged, this, &WebPage::delegateNewWindowToExternalBrowser);
#endif #endif
// -> there need to be a view, though // -> there needs to be a temporariy view, though
m_view = new SYNCTHINGWIDGETS_WEB_VIEW; m_view = new SYNCTHINGWIDGETS_WEB_VIEW;
m_view->setPage(this); m_view->setPage(this);
setParent(m_view); setParent(m_view);