Commit c415c7ce authored by Dimitris Kardarakos's avatar Dimitris Kardarakos Committed by Alexander Lohnau
Browse files

Fix application crash

When opening the editor the application was crashing. Fixing the order of the initialization of the members of the browser widget the crash does not happen.


(cherry picked from commit b82bef76)
parent 77024f50
......@@ -13,9 +13,9 @@ using namespace Editor;
BrowserWidget::BrowserWidget(QWidget *parent)
: QWidget(parent)
, m_htmlPart{new QWebEngineView(widget)}
{
setupUi(this);
m_htmlPart = new QWebEngineView(widget);
m_currentTranslation = -1;
m_currentProvider = 0; ///@todo kconfig?
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment