From e421c3f7e6ed8871bb11c6e7b17ce6ea23a77648 Mon Sep 17 00:00:00 2001 From: deva Date: Wed, 16 Aug 2006 23:47:08 +0000 Subject: Fjernede miav_config entry. Replaced the old MiavConfig class with the new Configuration class in all the the appropriate places. --- client/info_gui.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'client/info_gui.cc') 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 #include -#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 ); -- cgit v1.2.3