summaryrefslogtreecommitdiff
path: root/client/info_gui.cc
diff options
context:
space:
mode:
authordeva <deva>2006-07-20 17:52:52 +0000
committerdeva <deva>2006-07-20 17:52:52 +0000
commita09f1b932560f11caf34a567ee226446a496a584 (patch)
treeadc0a2fc4d8cb91f27077cf06ebfbe27108b0409 /client/info_gui.cc
parent3d236d2e7a6501108a9083196500c009226142a1 (diff)
Utilized the global info object.
Diffstat (limited to 'client/info_gui.cc')
-rw-r--r--client/info_gui.cc10
1 files changed, 5 insertions, 5 deletions
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 <stdio.h>
#include <stdarg.h>
-
#include <time.h>
+#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 );