mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-12 07:27:57 +00:00
a4f649fb4d
Ring is a secure and distributed voice, video and chat communication platform that requires no centralized server and leaves the power of privacy in the hands of the user. WWW: https://ring.cx/ PR: 209543 Submitted by: Yuri Victorovich <yuri@rawbw.com>
12 lines
593 B
C++
12 lines
593 B
C++
--- src/localringtonecollection.cpp.orig 2016-05-19 17:41:40 UTC
|
|
+++ src/localringtonecollection.cpp
|
|
@@ -115,7 +115,7 @@ bool LocalRingtoneCollection::load()
|
|
qWarning() << "Ringtones doesn't exist or is not readable";
|
|
|
|
//TODO remove that and do a proper collection for each platforms
|
|
-#ifdef Q_OS_LINUX
|
|
+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD)
|
|
QDir ringtonesDir(QFileInfo(QCoreApplication::applicationFilePath()).path()+"/../share/ring/ringtones/");
|
|
#elif defined(Q_OS_WIN)
|
|
QDir ringtonesDir(QFileInfo(QCoreApplication::applicationFilePath()).path()+"/ringtones/");
|