Commit 02972e58 authored by Robert Loehning's avatar Robert Loehning

CppEditor: Assign parent to "Extract Function" dialog

Change-Id: I37bdafe640cca00211f1c558f2f2afc5d12d8357
Reviewed-by: default avatarNikolai Kosjar <nikolai.kosjar@theqtcompany.com>
parent 164b72b2
......@@ -3336,7 +3336,7 @@ public:
ExtractFunctionOptions getOptions() const
{
QDialog dlg;
QDialog dlg(Core::ICore::dialogParent());
dlg.setWindowTitle(QCoreApplication::translate("QuickFix::ExtractFunction",
"Extract Function Refactoring"));
auto layout = new QFormLayout(&dlg);
......
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