forked from qt-creator/qt-creator
CppCheck: Move to simpler setLayouter calls
Change-Id: Id0e9f1adfe730f6067ade9472db597e3a12fc2e3 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
#include <debugger/analyzer/analyzerconstants.h>
|
||||
#include <debugger/debuggermainwindow.h>
|
||||
|
||||
#include <utils/layoutbuilder.h>
|
||||
#include <utils/qtcassert.h>
|
||||
#include <utils/utilsicons.h>
|
||||
|
||||
@@ -111,8 +112,7 @@ void CppcheckPluginPrivate::startManualRun()
|
||||
|
||||
manualRunTool.updateOptions();
|
||||
|
||||
auto optionsWidget = new QWidget;
|
||||
options.layouter()(optionsWidget);
|
||||
auto optionsWidget = options.layouter()().emerge();
|
||||
|
||||
ManualRunDialog dialog(optionsWidget, project);
|
||||
if (dialog.exec() == ManualRunDialog::Rejected)
|
||||
|
||||
Reference in New Issue
Block a user