From 4f84ffc811d93371f395f11a0e0f42000eaa99fc Mon Sep 17 00:00:00 2001 From: deva Date: Tue, 7 Mar 2006 19:12:18 +0000 Subject: *** empty log message *** --- client/miav_client.cc | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'client/miav_client.cc') diff --git a/client/miav_client.cc b/client/miav_client.cc index 29826ef..eea9cdf 100644 --- a/client/miav_client.cc +++ b/client/miav_client.cc @@ -39,14 +39,13 @@ int main(int argc, char *argv[]) { - QApplication miav_grab( argc, argv ); + QApplication app(argc, argv); - MiavConfig cfg(ETC"/miav.conf", NULL); + MiavConfig config(ETC"/miav.conf"); + MIaV::initConfig(&config); - InfoGui info(&cfg); - gInfo::initInfo(&info); - - config = new MiavConfig(ETC"/miav.conf", &info); + InfoGui info(MIaV::config); + MIaV::initInfo(&info); MainWindow mainwindow; @@ -58,5 +57,5 @@ int main(int argc, char *argv[]) player.start(); sender.start(); - return miav_grab.exec(); + return app.exec(); } -- cgit v1.2.3