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:
hjk
2023-05-30 17:04:14 +02:00
parent 8241fc87b4
commit 676d06d768
5 changed files with 15 additions and 15 deletions

View File

@@ -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);