Fix a possible compiler warning

See issue #1603.
This commit is contained in:
Martin Kleusberg
2018-11-15 13:47:06 +01:00
parent dcf252e7f2
commit f715dc95e6

View File

@@ -243,7 +243,7 @@ QVariant RemoteModel::data(const QModelIndex& index, int role) const
unit = it.next();
size /= 1024.0;
}
return QString().setNum(size, 'f', 2).remove(".00") + " " + unit;
return QString().setNum(size, 'f', 2).remove(".00") + QString(" ") + unit;
}
}
}