1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00
freebsd-ports/audio/mixxx/files/patch-src::mixxx.cpp
Kirill Ponomarev de8dbbfa7f Update to 1.4
PR:		ports/72595
Submitted by:	maintainer
2004-10-13 14:26:41 +00:00

12 lines
570 B
C++

--- src/mixxx.cpp.orig Tue Oct 12 22:08:14 2004
+++ src/mixxx.cpp Tue Oct 12 22:08:35 2004
@@ -111,7 +111,7 @@
// On Windows and Mac it is always (and only) app dir.
//
QString qConfigPath;
-#ifdef __LINUX__
+#if defined(__LINUX__) || defined(__FreeBSD__)
// On Linux, check if the path is stored in the configuration database.
if (config->getValueString(ConfigKey("[Config]","Path")).length()>0 && QDir(config->getValueString(ConfigKey("[Config]","Path"))).exists())
qConfigPath = config->getValueString(ConfigKey("[Config]","Path"));