mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2025-02-01 18:16:45 +01:00
Enable debug logging on Fedora
This commit is contained in:
parent
1a0dc1e614
commit
2ff971878d
@ -58,6 +58,7 @@
|
|||||||
#include <QString>
|
#include <QString>
|
||||||
#include <QImage>
|
#include <QImage>
|
||||||
#include <QSettings>
|
#include <QSettings>
|
||||||
|
#include <QLoggingCategory>
|
||||||
#include <QtDebug>
|
#include <QtDebug>
|
||||||
#ifdef HAVE_DBUS
|
#ifdef HAVE_DBUS
|
||||||
# include <QDBusArgument>
|
# include <QDBusArgument>
|
||||||
@ -202,6 +203,8 @@ int main(int argc, char* argv[]) {
|
|||||||
Q_INIT_RESOURCE(data);
|
Q_INIT_RESOURCE(data);
|
||||||
Q_INIT_RESOURCE(icons);
|
Q_INIT_RESOURCE(icons);
|
||||||
|
|
||||||
|
QLoggingCategory::defaultCategory()->setEnabled(QtDebugMsg, true);
|
||||||
|
|
||||||
Application app;
|
Application app;
|
||||||
|
|
||||||
// Network proxy
|
// Network proxy
|
||||||
|
Loading…
x
Reference in New Issue
Block a user