diff options
author | deva <deva> | 2005-05-25 12:31:59 +0000 |
---|---|---|
committer | deva <deva> | 2005-05-25 12:31:59 +0000 |
commit | 30741368102da5e5a8e4f8b897f2502edfa0165b (patch) | |
tree | 173a266f2f444e76526c0ca940d002ede9863779 /src/miav.cc | |
parent | 764d85a9a398cb37e7b5c3eb2e4e5bfc9ff26cd3 (diff) |
Made info (error message system) work correctly.
Diffstat (limited to 'src/miav.cc')
-rw-r--r-- | src/miav.cc | 9 |
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); |