diff options
author | deva <deva> | 2006-03-07 19:12:18 +0000 |
---|---|---|
committer | deva <deva> | 2006-03-07 19:12:18 +0000 |
commit | 4f84ffc811d93371f395f11a0e0f42000eaa99fc (patch) | |
tree | b562b6c55f2a825dbbc12646df9741b51e1dff79 /client/miav_client.cc | |
parent | 1390ddfe6afe41dba141f8170f9b277573ebe8cd (diff) |
*** empty log message ***
Diffstat (limited to 'client/miav_client.cc')
-rw-r--r-- | client/miav_client.cc | 13 |
1 files changed, 6 insertions, 7 deletions
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(); } |