From f715dc95e6010f8f99a5d136d750e930bf6b7e89 Mon Sep 17 00:00:00 2001 From: Martin Kleusberg Date: Thu, 15 Nov 2018 13:47:06 +0100 Subject: [PATCH] Fix a possible compiler warning See issue #1603. --- src/RemoteModel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/RemoteModel.cpp b/src/RemoteModel.cpp index 7dfb1111..43bfa766 100644 --- a/src/RemoteModel.cpp +++ b/src/RemoteModel.cpp @@ -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; } } }