From 648f9698a0d4ff0a1c7a69deb03f3f2d0c81b5b1 Mon Sep 17 00:00:00 2001 From: artemp Date: Tue, 30 May 2017 12:53:20 +0200 Subject: [PATCH] use sigleton interface when calling freetype_engine methods. --- demo/viewer/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demo/viewer/main.cpp b/demo/viewer/main.cpp index d8f06d25a..fe909830d 100644 --- a/demo/viewer/main.cpp +++ b/demo/viewer/main.cpp @@ -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();