summaryrefslogtreecommitdiff
path: root/client/info_gui.cc
diff options
context:
space:
mode:
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 );