mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-29 04:32:18 +08:00
Fixed gcc warning
This commit is contained in:
@@ -201,12 +201,12 @@ namespace BlackSim
|
|||||||
{
|
{
|
||||||
return ""; // normal when there is no settings value
|
return ""; // normal when there is no settings value
|
||||||
}
|
}
|
||||||
else if (qv.type() == QMetaType::QStringList)
|
else if (static_cast<QMetaType::Type>(qv.type()) == QMetaType::QStringList)
|
||||||
{
|
{
|
||||||
QStringList l = qv.toStringList();
|
QStringList l = qv.toStringList();
|
||||||
return l.join(",").trimmed();
|
return l.join(",").trimmed();
|
||||||
}
|
}
|
||||||
else if (qv.type() == QMetaType::QString)
|
else if (static_cast<QMetaType::Type>(qv.type()) == QMetaType::QString)
|
||||||
{
|
{
|
||||||
return qv.toString().trimmed();
|
return qv.toString().trimmed();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user