From 77a0868116fdfb465d3834a81edb93b1605674b1 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Wed, 21 May 2014 14:50:20 +0200 Subject: Fix last TODOs --- src/info_gui.cc | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/info_gui.cc') diff --git a/src/info_gui.cc b/src/info_gui.cc index f8072e1..adf5359 100644 --- a/src/info_gui.cc +++ b/src/info_gui.cc @@ -35,11 +35,9 @@ bool InfoEventHandler::eventFilter( QObject *o, QEvent *e ) { if ( e->type() == TYPE_SHOW_MESSAGEBOX ) { // fprintf(stderr, "Custom event!\n"); fflush(stderr); - /* // TODO MessageBox *msgbox = ((ShowMessageEvent*)e)->messagebox(); msgbox->exec(); delete msgbox; - */ return TRUE; // eat event } else { // standard event processing @@ -88,13 +86,11 @@ void InfoGui::showmsg(const char *msg, const char *title, msg_icon icon) msg, TYPE_OK, icon); - (void)msgbox; - /* // TODO ShowMessageEvent *event = new ShowMessageEvent( msgbox ); qapp->postEvent(parent, event); - */ + // End of safezone pthread_mutex_unlock(&mutex); } -- cgit v1.2.3