1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-16 11:19:18 +01:00

Initialise gobject - maybe fix issue #519

This commit is contained in:
David Sansome 2010-07-20 09:25:20 +00:00
parent 9f2d610e9d
commit a6b3aa07e1

View File

@ -43,6 +43,7 @@
#include <QTranslator>
#include <QDir>
#include <glib-object.h>
#include <glib/gutils.h>
#ifdef Q_WS_X11
@ -101,6 +102,7 @@ int main(int argc, char *argv[]) {
QCoreApplication::setOrganizationDomain("davidsansome.com");
// This makes us show up nicely in gnome-volume-control
g_type_init();
g_set_application_name(QCoreApplication::applicationName().toLocal8Bit());
qRegisterMetaType<Directory>("Directory");