summaryrefslogtreecommitdiff
path: root/client/info_gui.cc
diff options
context:
space:
mode:
authordeva <deva>2006-08-16 23:47:08 +0000
committerdeva <deva>2006-08-16 23:47:08 +0000
commite421c3f7e6ed8871bb11c6e7b17ce6ea23a77648 (patch)
tree41a274bcfeb6bf4fe6e893e9279b974fc950765b /client/info_gui.cc
parentad5ef06ff97aac051f6d4287ce30239eda3925bd (diff)
Fjernede miav_config entry.
Replaced the old MiavConfig class with the new Configuration class in all the the appropriate places.
Diffstat (limited to 'client/info_gui.cc')
-rw-r--r--client/info_gui.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/client/info_gui.cc b/client/info_gui.cc
index aec658d..8d80f97 100644
--- a/client/info_gui.cc
+++ b/client/info_gui.cc
@@ -30,7 +30,7 @@
#include <stdarg.h>
#include <time.h>
-#include "miav_config.h"
+#include "configuration.h"
bool InfoEventHandler::eventFilter( QObject *o, QEvent *e )
{
@@ -51,7 +51,8 @@ bool InfoEventHandler::eventFilter( QObject *o, QEvent *e )
InfoGui::InfoGui(): Info()
{
- log_filename = *(MIaV::config->readString("client_log_file"));
+ if(MIaV::config->get("client_log_file", &log_filename))
+ fprintf(stderr, "Could not read symbol [client_log_file] from the conf file!\n");
InfoEventHandler *eventhandler = new InfoEventHandler();
qApp->installEventFilter( eventhandler );