mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 03:44:02 +02:00
use QIODevice for loadFont method
This commit is contained in:
parent
f32556d64a
commit
27b91e7d43
1 changed files with 1 additions and 1 deletions
|
@ -144,7 +144,7 @@ private:
|
|||
|
||||
static QHash<QString, Font*> LOADED_FONTS;
|
||||
|
||||
Font* loadFont(QFile& fontFile) {
|
||||
Font* loadFont(QIODevice& fontFile) {
|
||||
Font* result = new Font();
|
||||
result->read(fontFile);
|
||||
return result;
|
||||
|
|
Loading…
Reference in a new issue