Always have a QFile. For some reason the comminucation won't work otherwise.

This commit is contained in:
Micke Prag 2010-06-17 14:29:58 +00:00
parent fc5ff8659e
commit f43f326232

View file

@ -203,10 +203,10 @@ QVariant Manager::send(const Message &message, bool *success) {
#include <QTextStream>
#include <QTime>
void Manager::logMessage( const QString &message) {
return;
#ifdef _WINDOWS
static bool firstRun = true;
QFile file("C:/log_client.txt");
return;
static bool firstRun = true;
if (firstRun) {
file.open(QIODevice::WriteOnly | QIODevice::Text);
firstRun = false;