summaryrefslogtreecommitdiff
path: root/src/info_gui.cc
diff options
context:
space:
mode:
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);
}