diff options
Diffstat (limited to 'src/miav.cc')
-rw-r--r-- | src/miav.cc | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/miav.cc b/src/miav.cc index 188b1d7..0f2feb3 100644 --- a/src/miav.cc +++ b/src/miav.cc @@ -31,6 +31,9 @@ /* * $Log$ + * Revision 1.14 2005/06/14 12:29:40 deva + * Incorporated the use of the Info object everywhere... also using the log functionality. + * * Revision 1.13 2005/06/09 11:00:03 deva * Added daemon code, and cleaned up using -Wall and -Werror * @@ -94,7 +97,8 @@ int grab(int argc, char *argv[]) { QApplication miav_grab( argc, argv ); - InfoGui info(&miav_grab, NULL); + MiavConfig cfg(ETC"/miav.conf", NULL); + InfoGui info(&miav_grab, NULL, &cfg); config = new MiavConfig(ETC"/miav.conf", &info); InfoEventHandler *eventhandler = new InfoEventHandler( ); @@ -121,11 +125,9 @@ int grab(int argc, char *argv[]) { */ int server(int argc, char *argv[]) { - InfoConsole info; - MiavDaemon daemon; - MiavConfig cfg(ETC"/miav.conf", &info); + MiavConfig cfg(ETC"/miav.conf", NULL); int uid = cfg.readInt("server_uid"); int gid = cfg.readInt("server_gid"); |