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

wilder-portage
Kurt Hindenburg 7 years ago
parent eb96410ffd
commit d8dc0dbf4a
  1. 2
      src/Character.h

@ -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());
}
};

Loading…
Cancel
Save