projects
/
qwerkisync
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated packaging for new 0.0.2 release.
[qwerkisync]
/
main.cpp
diff --git
a/main.cpp
b/main.cpp
index
c81212e
..
1ea766f
100644
(file)
--- a/
main.cpp
+++ b/
main.cpp
@@
-22,12
+22,21
@@
#include "ui_dialog.h"
#include "ui_dialog.h"
+#include <QDebug>
#include <QtGui>
#include <QtGui/QApplication>
#include <QHash>
#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[])
{
int main(int argc, char *argv[])
{
+ g_log_set_default_handler(g_log_default_handler, NULL);
+
QApplication app(argc, argv);
Settings settings;
QApplication app(argc, argv);
Settings settings;