mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-13 11:32:48 -04:00
added sounds to debian packaging rules and to executable
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8394 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
31680458bd
commit
eb383e4a29
3 changed files with 21 additions and 1 deletions
|
@ -70,7 +70,11 @@ SoundManager::SoundManager() : QObject()
|
|||
|
||||
void SoundManager::soundEvents(SoundEvents &events)
|
||||
{
|
||||
QDir baseDir = QDir(qApp->applicationDirPath() + "/sounds");
|
||||
#ifdef WINDOWS_SYS
|
||||
QDir baseDir = QDir(qApp->applicationDirPath() + "/sounds");
|
||||
#else
|
||||
QDir baseDir = QDir("/usr/share/Retroshare06/sounds");
|
||||
#endif
|
||||
|
||||
events.mDefaultPath = baseDir.absolutePath();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue