Always have a QFile. For some reason the comminucation won't work otherwise.
This commit is contained in:
parent
fc5ff8659e
commit
f43f326232
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue