freebsd-ports/net-im/trix/files/patch-settings.cpp
Beech Rintoul da0bb730fb - Update to 0.94
- Use datadir macro

PR:		ports/125366
Submitted by:	Kozienko Aleksandr <pascalamsg@gmail.com> (maintainer)
2008-07-09 03:56:51 +00:00

17 lines
535 B
C++

--- src/settings.cpp.orig 2008-06-29 20:24:50.000000000 +0300
+++ src/settings.cpp 2008-07-02 18:31:27.000000000 +0300
@@ -143,11 +143,10 @@
def_downloadpath=QDir::homeDirPath();
def_awaylimit=1800;
def_autoupdateinterval = 300;
-#ifdef BSD
+
def_playcmd="/usr/local/bin/play";
-#else
- def_playcmd = "/usr/bin/aplay";
-#endif
+
+
def_snd[Sound::Chatline] = datapath + "snd/chatline.wav";
def_snd[Sound::Beep] = datapath + "snd/beep.wav";
def_snd[Sound::JoinChannel] = datapath + "snd/join.wav";