diff options
Diffstat (limited to 'client/info_gui.cc')
-rw-r--r-- | client/info_gui.cc | 5 |
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 ); |