diff options
Diffstat (limited to 'examples/viewer-qt.cc')
-rw-r--r-- | examples/viewer-qt.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/viewer-qt.cc b/examples/viewer-qt.cc index 8afc09e5..7f49bcf7 100644 --- a/examples/viewer-qt.cc +++ b/examples/viewer-qt.cc @@ -508,6 +508,8 @@ main (int argc, char **argv) QApplication a (argc, argv); const char *filename; + g_type_init ((GTypeDebugFlags) 0); + QApplication::setStyle (new QCDEStyle()); if (QFileInfo ("./pangorc").exists ()) |