Commit 62994a36 authored by Erik Verbruggen's avatar Erik Verbruggen Committed by hjk

Debugger: give the qmlToolBar a parent.

Showed up in valgrind as a leak, when QML debugging was not used.

Change-Id: I8e378795727f0e2f297086ae73dab99b6a28de32
Reviewed-by: default avatarhjk <>
parent b6bcf505
......@@ -3259,7 +3259,7 @@ void DebuggerPluginPrivate::extensionsInitialized()
m_mainWindow->setToolBar(CppLanguage, toolbarContainer);
QWidget *qmlToolbar = new QWidget;
QWidget *qmlToolbar = new QWidget(m_mainWindow);
hbox = new QHBoxLayout(qmlToolbar);
Markdown is supported
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