summaryrefslogtreecommitdiff
path: root/src/info_gui.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2014-05-21 14:50:20 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2014-05-21 14:50:20 +0200
commit77a0868116fdfb465d3834a81edb93b1605674b1 (patch)
tree3b5c699ff5c9d40ad025ab5f57d0c04666f17cf2 /src/info_gui.cc
parenteda4e58427a74f8ea969b3062327b6ea6309d310 (diff)
Fix last TODOs
Diffstat (limited to 'src/info_gui.cc')
-rw-r--r--src/info_gui.cc6
1 files changed, 1 insertions, 5 deletions
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);
}