summaryrefslogtreecommitdiff
path: root/client/miav_client.cc
diff options
context:
space:
mode:
Diffstat (limited to 'client/miav_client.cc')
-rw-r--r--client/miav_client.cc13
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();
}