forked from qt-creator/qt-creator
Use simpler IOptionPage::setLayouter overload in a few more places
Change-Id: Id3745dab4363279219062462492b3a3e789776be Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
@@ -65,9 +65,9 @@ public:
|
||||
autoFormatMime.setDefaultValue("text/x-cmake");
|
||||
autoFormatMime.setLabelText(Tr::tr("Restrict to MIME types:"));
|
||||
|
||||
setLayouter([this](QWidget *widget) {
|
||||
setLayouter([this] {
|
||||
using namespace Layouting;
|
||||
Column {
|
||||
return Column {
|
||||
Row { Tr::tr("CMakeFormat command:"), command },
|
||||
Space(10),
|
||||
Group {
|
||||
@@ -79,7 +79,7 @@ public:
|
||||
}
|
||||
},
|
||||
st
|
||||
}.attachTo(widget);
|
||||
};
|
||||
});
|
||||
|
||||
ActionContainer *menu = ActionManager::createMenu(Constants::CMAKEFORMATTER_MENU_ID);
|
||||
|
||||
Reference in New Issue
Block a user