From a09f1b932560f11caf34a567ee226446a496a584 Mon Sep 17 00:00:00 2001 From: deva Date: Thu, 20 Jul 2006 17:52:52 +0000 Subject: Utilized the global info object. --- client/info_gui.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'client/info_gui.cc') diff --git a/client/info_gui.cc b/client/info_gui.cc index ac733ff..aec658d 100644 --- a/client/info_gui.cc +++ b/client/info_gui.cc @@ -3,7 +3,7 @@ * info_gui.cc * * Tue May 3 09:34:59 CEST 2005 - * Copyright 2005 Bent Bisballe + * Copyright 2005 Bent Bisballe Nyeng * deva@aasimon.org ****************************************************************************/ @@ -28,9 +28,10 @@ #include #include - #include +#include "miav_config.h" + bool InfoEventHandler::eventFilter( QObject *o, QEvent *e ) { if ( e->type() == TYPE_SHOW_MESSAGEBOX ) { @@ -48,10 +49,9 @@ bool InfoEventHandler::eventFilter( QObject *o, QEvent *e ) } } -InfoGui::InfoGui(MiavConfig *c): Info() +InfoGui::InfoGui(): Info() { - this->config = c; - log_filename = *(this->config->readString("client_log_file")); + log_filename = *(MIaV::config->readString("client_log_file")); InfoEventHandler *eventhandler = new InfoEventHandler(); qApp->installEventFilter( eventhandler ); -- cgit v1.2.3