diff options
author | deva <deva> | 2005-09-25 20:59:02 +0000 |
---|---|---|
committer | deva <deva> | 2005-09-25 20:59:02 +0000 |
commit | 9640339f2e9dc126406f6b6f8a091b924898b4f5 (patch) | |
tree | dad14d120f0fc4401552714b5efffe20b5c78a4d /src/miav.cc | |
parent | 36326a9c1bab28c5eccea6cc2c56c9a8b83dac0d (diff) |
*** empty log message ***
Diffstat (limited to 'src/miav.cc')
-rw-r--r-- | src/miav.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/miav.cc b/src/miav.cc index dbb8b28..2efd2bf 100644 --- a/src/miav.cc +++ b/src/miav.cc @@ -47,6 +47,9 @@ typedef enum { MODE_SERVER } run_mode; +#ifdef USE_GUI +QApplication *miav_app; +#endif/*USE_GUI*/ /** * This function starts the MIaV gui. @@ -55,6 +58,7 @@ int grab(int argc, char *argv[]) { #ifdef USE_GUI QApplication miav_grab( argc, argv ); + miav_app = &miav_grab; MiavConfig cfg(ETC"/miav.conf", NULL); InfoGui info(&miav_grab, NULL, &cfg); |