Gui: modernize C++: return braced init list

This commit is contained in:
wmayer
2023-08-17 15:12:18 +02:00
committed by wwmayer
parent b2672abc06
commit fa8978ce99
58 changed files with 286 additions and 276 deletions

View File

@@ -314,7 +314,7 @@ QString QuantitySpinBox::boundToName() const
std::string path = getPath().toString();
return QString::fromStdString(path);
}
return QString();
return {};
}
/**
@@ -377,7 +377,7 @@ QString Gui::QuantitySpinBox::expressionText() const
catch (const Base::Exception& e) {
qDebug() << e.what();
}
return QString();
return {};
}
void QuantitySpinBox::evaluateExpression()