From c9bfc4db72b84292f541c795993abde98e22121f Mon Sep 17 00:00:00 2001 From: deva Date: Mon, 6 Mar 2006 10:44:07 +0000 Subject: *** empty log message *** --- client/miav_client.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'client/miav_client.cc') diff --git a/client/miav_client.cc b/client/miav_client.cc index a8e9f7c..f8ea6d2 100644 --- a/client/miav_client.cc +++ b/client/miav_client.cc @@ -42,6 +42,7 @@ QApplication *miav_app; * This function starts the MIaV gui. */ int main(int argc, char *argv[]) +{ QApplication miav_grab( argc, argv ); miav_app = &miav_grab; @@ -52,8 +53,7 @@ int main(int argc, char *argv[]) InfoEventHandler *eventhandler = new InfoEventHandler( ); miav_grab.installEventFilter( eventhandler ); - MainWindow mainwindow( &miav_grab ); - miav_grab.setMainWidget( &mainwindow ); + MainWindow mainwindow; info.setParent(&mainwindow); return miav_grab.exec(); -- cgit v1.2.3