summaryrefslogtreecommitdiff
path: root/client/miav_client.cc
diff options
context:
space:
mode:
authordeva <deva>2006-03-06 10:44:07 +0000
committerdeva <deva>2006-03-06 10:44:07 +0000
commitc9bfc4db72b84292f541c795993abde98e22121f (patch)
tree687411dce72a70dc0f4c337c8e496607308f8ab4 /client/miav_client.cc
parentc629a137b5f91097004f1a267d1433393e5cc512 (diff)
*** empty log message ***
Diffstat (limited to 'client/miav_client.cc')
-rw-r--r--client/miav_client.cc4
1 files changed, 2 insertions, 2 deletions
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();