freebsd-ports/graphics/digikam-kde4/files/patch-digikam__album__albumwatch.cpp
Max Brazhnikov e7ae0125df - Update to digiKam and Kipi Plugins ports to 3.1.0
- Split documentations and l10ns to separate ports
- Split kipi-plugins-kde4 port

Approved by:	portmgr (miwi)
2013-04-08 17:10:56 +00:00

11 lines
633 B
C++

--- ./digikam/album/albumwatch.cpp.orig 2013-04-04 16:03:45.920385000 +0000
+++ ./digikam/album/albumwatch.cpp 2013-04-04 16:04:05.410385977 +0000
@@ -278,7 +278,7 @@
// Disable file watch for OS X and Windows and hope for future
// improvement (possibly with the improvements planned for
// QFileSystemWatcher in Qt 5.1)
-#if defined(Q_WS_MAC) || defined(Q_WS_WIN)
+#if defined(Q_WS_MAC) || defined(Q_WS_WIN) || defined(Q_OS_FREEBSD)
d->dirWatch->addDir(dir, KDirWatch::WatchDirOnly);
#else
d->dirWatch->addDir(dir, KDirWatch::WatchFiles | KDirWatch::WatchDirOnly);