#6347 made log to home directory by default
This commit is contained in:
parent
c9082e0cf2
commit
7da1d4f9cc
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue