use sigleton interface when calling freetype_engine methods.
This commit is contained in:
parent
a054ee0a31
commit
648f9698a0
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ int main( int argc, char **argv )
|
||||||
{
|
{
|
||||||
settings.setArrayIndex(index);
|
settings.setArrayIndex(index);
|
||||||
QString font_dir = settings.value("dir").toString();
|
QString font_dir = settings.value("dir").toString();
|
||||||
freetype_engine::register_fonts(font_dir.toStdString());
|
freetype_engine::instance().register_fonts(font_dir.toStdString());
|
||||||
}
|
}
|
||||||
settings.endArray();
|
settings.endArray();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue