use sigleton interface when calling freetype_engine methods.

This commit is contained in:
artemp 2017-05-30 12:53:20 +02:00
parent a054ee0a31
commit 648f9698a0

View file

@ -48,7 +48,7 @@ int main( int argc, char **argv )
{
settings.setArrayIndex(index);
QString font_dir = settings.value("dir").toString();
freetype_engine::register_fonts(font_dir.toStdString());
freetype_engine::instance().register_fonts(font_dir.toStdString());
}
settings.endArray();