Skip to content

Commit

Permalink
Merge branch 'master' of https:/Dr-Incognito/V2Ray-Desktop
Browse files Browse the repository at this point in the history
  • Loading branch information
Dr-Incognito committed Jul 2, 2020
2 parents ceb3b9e + a90e3bc commit 8e4b517
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ void messageHandler(QtMsgType msgType,
QFile logFile(Configurator::getAppLogFilePath());
logFile.open(QIODevice::WriteOnly | QIODevice::Append);
QTextStream logTextStream(&logFile);
logTextStream << logMessage.arg(dt, msgTypeStr, msg) << Qt::endl;
logTextStream << logMessage.arg(dt, msgTypeStr, msg) << endl;
logFile.close();
} else {
QTextStream(stdout) << logMessage.arg(dt, msgTypeStr, msg) << Qt::endl;
QTextStream(stdout) << logMessage.arg(dt, msgTypeStr, msg) << endl;
}
}

Expand Down

0 comments on commit 8e4b517

Please sign in to comment.