forked from qt-creator/qt-creator
Extensionsystem: Fix compile for gcc 4.7.3/Qt5.5...
...and avoid warning. Change-Id: I1291c02b6c4a707f43235582db211933da0072a4 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
573958e79f
commit
075a6f6805
@@ -149,12 +149,13 @@ bool PluginDependency::operator==(const PluginDependency &other) const
|
|||||||
static QString typeString(PluginDependency::Type type)
|
static QString typeString(PluginDependency::Type type)
|
||||||
{
|
{
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case PluginDependency::Required:
|
|
||||||
return QString();
|
|
||||||
case PluginDependency::Optional:
|
case PluginDependency::Optional:
|
||||||
return ", optional";
|
return QString(", optional");
|
||||||
case PluginDependency::Test:
|
case PluginDependency::Test:
|
||||||
return ", test";
|
return QString(", test");
|
||||||
|
case PluginDependency::Required:
|
||||||
|
default:
|
||||||
|
return QString();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user