mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 23:16:50 +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;
|
static QHash<QString, Font*> LOADED_FONTS;
|
||||||
|
|
||||||
Font* loadFont(QFile& fontFile) {
|
Font* loadFont(QIODevice& fontFile) {
|
||||||
Font* result = new Font();
|
Font* result = new Font();
|
||||||
result->read(fontFile);
|
result->read(fontFile);
|
||||||
return result;
|
return result;
|
||||||
|
|
Loading…
Reference in a new issue