summaryrefslogtreecommitdiff
path: root/src/miav.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/miav.cc')
-rw-r--r--src/miav.cc9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/miav.cc b/src/miav.cc
index 12c63be..d1211f1 100644
--- a/src/miav.cc
+++ b/src/miav.cc
@@ -31,6 +31,10 @@
/*
* $Log$
+ * Revision 1.12 2005/05/25 12:31:59 deva
+ *
+ * Made info (error message system) work correctly.
+ *
* Revision 1.11 2005/05/23 18:42:50 deva
* Error message windows is now modal with mainwindow as its parent.
*
@@ -89,7 +93,10 @@ int grab(int argc, char *argv[]) {
InfoGui info(&miav_grab, NULL);
config = new MiavConfig(ETC"/miav.conf", &info);
- MainWindow mainwindow(&miav_grab);
+ InfoEventHandler *eventhandler = new InfoEventHandler( );
+ miav_grab.installEventFilter( eventhandler );
+
+ MainWindow mainwindow( &miav_grab );
miav_grab.setMainWidget( &mainwindow );
info.setParent(&mainwindow);