From 5688e81ed48145f73468b5e3b68ea612603dd63a Mon Sep 17 00:00:00 2001 From: Chris Hennes Date: Fri, 20 Dec 2024 21:32:03 -0600 Subject: [PATCH] Measure: Pass empty arg to QStringLiteral macro Silences compiler warning about missing expected macro argument (MSVC warning C4003). --- src/Mod/Measure/Gui/TaskMeasure.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Measure/Gui/TaskMeasure.cpp b/src/Mod/Measure/Gui/TaskMeasure.cpp index 7e02214c17c9..56d538367a18 100644 --- a/src/Mod/Measure/Gui/TaskMeasure.cpp +++ b/src/Mod/Measure/Gui/TaskMeasure.cpp @@ -147,7 +147,7 @@ TaskMeasure::TaskMeasure() auto* settingsLayout = new QHBoxLayout(); settingsLayout->addItem(new QSpacerItem(0, 0, QSizePolicy::Expanding)); settingsLayout->addWidget(mSettings); - formLayout->addRow(QStringLiteral(), settingsLayout); + formLayout->addRow(QStringLiteral(""), settingsLayout); formLayout->addRow(tr("Mode:"), modeSwitch); formLayout->addRow(showDeltaLabel, showDelta); formLayout->addRow(tr("Result:"), valueResult);