X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=main.cpp;h=a19b8dc5eb521e1a633a47d5aa4d6654fd9e5845;hb=b320c919e28ce961edcdc6672f418861bccc4eff;hp=c81212eef84ff480045c6180486523a73fe3b69e;hpb=4abcc9ab77d80562371024c243eb6b4f9f28dfcc;p=qwerkisync diff --git a/main.cpp b/main.cpp index c81212e..a19b8dc 100644 --- a/main.cpp +++ b/main.cpp @@ -22,12 +22,21 @@ #include "ui_dialog.h" +#include #include #include #include +#include +void g_log_default_handler (const gchar *log_domain, GLogLevelFlags log_level, const gchar *message, gpointer unused_data) +{ + qDebug() << "GLIB: " << log_domain << "" << log_level << "" << message << "\n"; +} + int main(int argc, char *argv[]) { + g_log_set_default_handler(g_log_default_handler, NULL); + QApplication app(argc, argv); Settings settings;