It is not obvious toUcs4 returns QVector<uint> so remove auto

This commit is contained in:
Kurt Hindenburg
2019-09-01 11:31:25 -04:00
parent eb96410ffd
commit d8dc0dbf4a

View File

@@ -154,7 +154,7 @@ public:
}
inline static int stringWidth(const QString &str) {
auto ucs4Str = str.toUcs4();
QVector<uint> ucs4Str = str.toUcs4();
return stringWidth(ucs4Str.constData(), ucs4Str.length());
}
};