forked from qt-creator/qt-creator
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:
@@ -65,8 +65,10 @@ void QtProjectParameters::writeProFile(QTextStream &str) const
|
|||||||
switch (type) {
|
switch (type) {
|
||||||
case ConsoleApp:
|
case ConsoleApp:
|
||||||
// Mac: Command line apps should not be bundles
|
// Mac: Command line apps should not be bundles
|
||||||
str << "CONFIG += console\nCONFIG -= app_bundle\n\n";
|
str << "CONFIG += console\n"
|
||||||
// fallthrough
|
"CONFIG -= app_bundle\n\n"
|
||||||
|
"TEMPLATE = app\n";
|
||||||
|
break;
|
||||||
case GuiApp:
|
case GuiApp:
|
||||||
str << "TEMPLATE = app\n";
|
str << "TEMPLATE = app\n";
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user