accountadapter: do not set incorrect ringtone on creation

On GNU/Linux, the ringtone is managed by the deamon. No need to
manage it (incorrectly) in the client

Change-Id: I38fe783d6bd0778f702ee6da333468c54d59d678
GitLab: #351
This commit is contained in:
Sébastien Blin
2021-04-06 15:37:34 -04:00
parent 2eac155b0c
commit 12daccb51f
2 changed files with 33 additions and 22 deletions

View File

@@ -280,7 +280,7 @@ Utils::GetRingtonePath()
#ifdef Q_OS_WIN
return QCoreApplication::applicationDirPath() + "\\ringtones\\default.opus";
#else
return QString("/usr/local");
return QString("/usr/share/ring/ringtones/default.opus");
#endif
}