#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
|
QString AppConfig::synergyLogDir() const
|
||||||
{
|
{
|
||||||
#if defined(Q_OS_WIN)
|
// by default log to home dir
|
||||||
// on windows, we want to log to program files
|
return QDir::home().absolutePath() + "/";
|
||||||
return synergyProgramDir() + "log/";
|
|
||||||
#else
|
|
||||||
// on unix, we'll log to the standard log dir
|
|
||||||
return "/var/log/";
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
QString AppConfig::synergyProgramDir() const
|
QString AppConfig::synergyProgramDir() const
|
||||||
|
|
Loading…
Reference in New Issue