summaryrefslogtreecommitdiff
path: root/src/info_gui.cc
diff options
context:
space:
mode:
authordeva <deva>2005-06-13 20:38:19 +0000
committerdeva <deva>2005-06-13 20:38:19 +0000
commit0836a6e06f86e366017da3b2b2c132b3a4f2c877 (patch)
tree2df50f436a8664e564267d1200f3ef9b6c204dbe /src/info_gui.cc
parentfca7f73ae889f5e74a3b31441f5b2d778ecbd2d4 (diff)
Added some logfile code.
Enhanced the file object... now ready to hook into mov_encoder
Diffstat (limited to 'src/info_gui.cc')
-rw-r--r--src/info_gui.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/info_gui.cc b/src/info_gui.cc
index db23827..2559402 100644
--- a/src/info_gui.cc
+++ b/src/info_gui.cc
@@ -38,6 +38,8 @@
#include "info_gui.h"
+#include "miav_config.h"
+
#include <stdio.h>
#include <stdarg.h>
@@ -59,6 +61,8 @@ bool InfoEventHandler::eventFilter( QObject *o, QEvent *e )
InfoGui::InfoGui(QApplication *a, QWidget *p): Info()
{
+ log_filename = *config->readString("client_log_file");
+
qapp = a;
parent = p;
@@ -140,4 +144,5 @@ void InfoGui::info(char *fmt, ...)
showmsg(buf, TXT_INFO_TITLE, ICON_INFO);
}
+
#endif/*USE_GUI*/