From 30741368102da5e5a8e4f8b897f2502edfa0165b Mon Sep 17 00:00:00 2001 From: deva Date: Wed, 25 May 2005 12:31:59 +0000 Subject: Made info (error message system) work correctly. --- src/miav.cc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/miav.cc') 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); -- cgit v1.2.3