mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-15 18:58:55 +01:00
Initialise gobject - maybe fix issue #519
This commit is contained in:
parent
9f2d610e9d
commit
a6b3aa07e1
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user