#6347 made log to home directory by default

This commit is contained in:
XinyuHou 2015-03-25 16:39:44 +00:00 committed by Nick Bolton
parent c9082e0cf2
commit 7da1d4f9cc
1 changed files with 2 additions and 7 deletions

View File

@ -86,13 +86,8 @@ const QString &AppConfig::logFilename() const { return m_LogFilename; }
QString AppConfig::synergyLogDir() const
{
#if defined(Q_OS_WIN)
// on windows, we want to log to program files
return synergyProgramDir() + "log/";
#else
// on unix, we'll log to the standard log dir
return "/var/log/";
#endif
// by default log to home dir
return QDir::home().absolutePath() + "/";
}
QString AppConfig::synergyProgramDir() const