From c90676c42c7be606a9fc690278b67909ba6a9c99 Mon Sep 17 00:00:00 2001 From: zecke Date: Thu, 10 Oct 2002 20:13:56 +0000 Subject: Drop the output with a custom message handler.... --- diff --git a/core/pim/todo/main.cpp b/core/pim/todo/main.cpp index 73977c2..58ed45c 100644 --- a/core/pim/todo/main.cpp +++ b/core/pim/todo/main.cpp @@ -25,8 +25,13 @@ #include +void myMessages( QtMsgType, const char* ) { + +} + int main( int argc, char **argv ) { + qInstallMsgHandler( myMessages ); QPEApplication a( argc, argv ); QTime time; @@ -37,7 +42,7 @@ int main( int argc, char **argv ) mw.setCaption("Opie Todolist"); QObject::connect( &a, SIGNAL( flush() ), &mw, SLOT( slotFlush() ) ); QObject::connect( &a, SIGNAL( reload() ), &mw, SLOT( slotReload() ) ); - + a.showMainWidget(&mw); return a.exec(); -- cgit v0.9.0.2