Yet another text rendering improvement/optimization

This commit is contained in:
2019-10-03 22:39:05 +02:00
parent aacc42c25d
commit a58962ab93
4 changed files with 46 additions and 27 deletions

View File

@ -34,7 +34,7 @@ public:
bool collidesWithItem(const TextItem *other) const;
protected:
int avgCharWidth() const;
qreal avgCharWidth() const;
private:
QString _text;