forked from qt-creator/qt-creator
Fix warning about unhandled enum value in switch statement
This commit is contained in:
@@ -361,6 +361,9 @@ void Qt4ProjectConfigWidget::updateImportLabel()
|
|||||||
case ProjectExplorer::Task::Warning:
|
case ProjectExplorer::Task::Warning:
|
||||||
type = tr("Warning: ");
|
type = tr("Warning: ");
|
||||||
break;
|
break;
|
||||||
|
case ProjectExplorer::Task::Unknown:
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
if (!text.endsWith(QLatin1String("br>")))
|
if (!text.endsWith(QLatin1String("br>")))
|
||||||
text.append(QLatin1String("<br>"));
|
text.append(QLatin1String("<br>"));
|
||||||
|
Reference in New Issue
Block a user