Skip to content

Commit 0a4ed4d

Browse files
committed
Explicitly convert 'char *' to QString
1 parent e299046 commit 0a4ed4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

analysis/analysisrunner.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ QString AnalysisRunner::humanFileSize() const
243243

244244
for (unit=-1; (++unit<3) && (size>1023); size/=1024);
245245

246-
return QString::number(size, 'f', 1) + QString(units[unit]);
246+
return QString::number(size, 'f', 1) + QString::fromLatin1(units[unit]);
247247

248248
}
249249

0 commit comments

Comments
 (0)