Ticket #46317: find-ColorSync-profiles.patch
File find-ColorSync-profiles.patch, 676 bytes (added by eborisch (Eric A. Borisch), 10 years ago) |
---|
-
core/libs/dimg/filters/icc/iccprofile.cpp
old new 504 504 // MacPorts installs for KDE, so we include the XDG data dirs, including /usr/share/color/icc 505 505 QStringList dataDirs = QString::fromLocal8Bit(getenv("XDG_DATA_DIRS")).split(':', QString::SkipEmptyParts); 506 506 507 if (!dataDirs.contains(QLatin1String(" /opt/local/share")))507 if (!dataDirs.contains(QLatin1String("%%PREFIX%%/share"))) 508 508 { 509 dataDirs << " /opt/local/share";509 dataDirs << "%%PREFIX%%/share"; 510 510 } 511 511 512 512 foreach(const QString& dataDir, dataDirs)