QmakeProjectManager: Work around a warning

warning: this statement may fall through [-Wimplicit-fallthrough=]

Change-Id: I95b97781934521b578571da196d6688302ce76f6
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2023-03-23 17:26:25 +01:00
parent 6e276b0a00
commit b7394e073e

View File

@@ -65,8 +65,10 @@ void QtProjectParameters::writeProFile(QTextStream &str) const
switch (type) {
case ConsoleApp:
// Mac: Command line apps should not be bundles
str << "CONFIG += console\nCONFIG -= app_bundle\n\n";
// fallthrough
str << "CONFIG += console\n"
"CONFIG -= app_bundle\n\n"
"TEMPLATE = app\n";
break;
case GuiApp:
str << "TEMPLATE = app\n";
break;