Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linphone-desktop
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
linphone-desktop
Commits
dc7e920c
Commit
dc7e920c
authored
Jun 07, 2017
by
Ghislain MARY
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix sound during call pause that was not playing because the path was wrong.
parent
2ba8aa0d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
12 deletions
+10
-12
Paths.cpp
linphone-desktop/src/app/paths/Paths.cpp
+10
-12
No files found.
linphone-desktop/src/app/paths/Paths.cpp
View file @
dc7e920c
...
@@ -32,7 +32,7 @@
...
@@ -32,7 +32,7 @@
#include "Paths.hpp"
#include "Paths.hpp"
#define PATH_ASSISTANT_CONFIG "/assistant/"
#define PATH_ASSISTANT_CONFIG "/
linphone/
assistant/"
#define PATH_AVATARS "/avatars/"
#define PATH_AVATARS "/avatars/"
#define PATH_CAPTURES "/captures/"
#define PATH_CAPTURES "/captures/"
#define PATH_LOGS "/logs/"
#define PATH_LOGS "/logs/"
...
@@ -41,8 +41,8 @@
...
@@ -41,8 +41,8 @@
#define PATH_CALL_HISTORY_LIST "/call-history.db"
#define PATH_CALL_HISTORY_LIST "/call-history.db"
#define PATH_CONFIG "/linphonerc"
#define PATH_CONFIG "/linphonerc"
#define PATH_FACTORY_CONFIG "/linphonerc-factory"
#define PATH_FACTORY_CONFIG "/linphone
/linphone
rc-factory"
#define PATH_ROOT_CA "/rootca.pem"
#define PATH_ROOT_CA "/
linphone/
rootca.pem"
#define PATH_FRIENDS_LIST "/friends.db"
#define PATH_FRIENDS_LIST "/friends.db"
#define PATH_MESSAGE_HISTORY_LIST "/message-history.db"
#define PATH_MESSAGE_HISTORY_LIST "/message-history.db"
#define PATH_ZRTP_SECRETS "/zidcache"
#define PATH_ZRTP_SECRETS "/zidcache"
...
@@ -100,26 +100,24 @@ inline string getWritableFilePath (const QString &filename) {
...
@@ -100,26 +100,24 @@ inline string getWritableFilePath (const QString &filename) {
// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
inline
Q
String
getAppPackageDataDirPath
()
{
inline
Q
Dir
getAppPackageDir
()
{
QDir
dir
(
QCoreApplication
::
applicationDirPath
());
QDir
dir
(
QCoreApplication
::
applicationDirPath
());
if
(
dir
.
dirName
()
==
"MacOS"
)
{
if
(
dir
.
dirName
()
==
"MacOS"
)
{
dir
.
cdUp
();
dir
.
cdUp
();
dir
.
cd
(
"Resources"
);
dir
.
cd
(
"Resources"
);
}
else
}
else
dir
.
cdUp
();
dir
.
cdUp
();
return
dir
;
}
dir
.
cd
(
"share/linphone"
);
inline
QString
getAppPackageDataDirPath
()
{
QDir
dir
=
getAppPackageDir
();
dir
.
cd
(
"share"
);
return
dir
.
absolutePath
();
return
dir
.
absolutePath
();
}
}
inline
QString
getAppPackageMsPluginsDirPath
()
{
inline
QString
getAppPackageMsPluginsDirPath
()
{
QDir
dir
(
QCoreApplication
::
applicationDirPath
());
QDir
dir
=
getAppPackageDir
();
if
(
dir
.
dirName
()
==
"MacOS"
)
{
dir
.
cdUp
();
dir
.
cd
(
"Resources"
);
}
else
dir
.
cdUp
();
dir
.
cd
(
MSPLUGINS_DIR
);
dir
.
cd
(
MSPLUGINS_DIR
);
return
dir
.
absolutePath
();
return
dir
.
absolutePath
();
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment