Commit 9fbe9ab0 authored by Ronan Abhamon's avatar Ronan Abhamon

fix(Paths): set documents as default captures folder

parent c380d3e1
......@@ -35,7 +35,7 @@
#define PATH_ASSISTANT_CONFIG "/linphone/assistant/"
#define PATH_AVATARS "/avatars/"
#define PATH_CAPTURES "/captures/"
#define PATH_CAPTURES "/Linphone/captures/"
#define PATH_LOGS "/logs/"
#define PATH_THUMBNAILS "/thumbnails/"
#define PATH_USER_CERTIFICATES "/usr-crt/"
......@@ -172,7 +172,7 @@ string Paths::getCallHistoryFilePath () {
}
string Paths::getCapturesDirPath () {
return ::getWritableDirPath(QStandardPaths::writableLocation(QStandardPaths::AppLocalDataLocation) + PATH_CAPTURES);
return ::getWritableDirPath(QStandardPaths::writableLocation(QStandardPaths::DocumentsLocation) + PATH_CAPTURES);
}
string Paths::getConfigFilePath (const QString &configPath, bool writable) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment