Updated packaging for new 0.0.2 release.
[qwerkisync] / main.cpp
index c81212e..1ea766f 100644 (file)
--- a/main.cpp
+++ b/main.cpp
 
 #include "ui_dialog.h"
 
+#include <QDebug>
 #include <QtGui>
 #include <QtGui/QApplication>
 #include <QHash>
 
+#include <glib-2.0/glib.h>
+void g_log_default_handler (const gchar *log_domain, GLogLevelFlags log_level, const gchar *message, gpointer)
+{
+       qDebug() << "GLIB: <D>" << log_domain << "<L>" << log_level << "<M>" << message << "\n";
+}
+
 int main(int argc, char *argv[])
 {
+       g_log_set_default_handler(g_log_default_handler, NULL);
+
        QApplication app(argc, argv);
 
        Settings settings;