mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-16 19:31:02 +01:00
Initialise gobject - maybe fix issue #519
This commit is contained in:
parent
9f2d610e9d
commit
a6b3aa07e1
@ -43,6 +43,7 @@
|
|||||||
#include <QTranslator>
|
#include <QTranslator>
|
||||||
#include <QDir>
|
#include <QDir>
|
||||||
|
|
||||||
|
#include <glib-object.h>
|
||||||
#include <glib/gutils.h>
|
#include <glib/gutils.h>
|
||||||
|
|
||||||
#ifdef Q_WS_X11
|
#ifdef Q_WS_X11
|
||||||
@ -101,6 +102,7 @@ int main(int argc, char *argv[]) {
|
|||||||
QCoreApplication::setOrganizationDomain("davidsansome.com");
|
QCoreApplication::setOrganizationDomain("davidsansome.com");
|
||||||
|
|
||||||
// This makes us show up nicely in gnome-volume-control
|
// This makes us show up nicely in gnome-volume-control
|
||||||
|
g_type_init();
|
||||||
g_set_application_name(QCoreApplication::applicationName().toLocal8Bit());
|
g_set_application_name(QCoreApplication::applicationName().toLocal8Bit());
|
||||||
|
|
||||||
qRegisterMetaType<Directory>("Directory");
|
qRegisterMetaType<Directory>("Directory");
|
||||||
|
Loading…
Reference in New Issue
Block a user