[rkward/frameworks] rkward/windows: Add a TEMPORARY hack to make output change detection work in a live image.

Thomas Friedrichsmeier thomas.friedrichsmeier at ruhr-uni-bochum.de
Fri Sep 16 14:45:09 UTC 2016


Git commit a3b5e6e579e2ac9e73408a6160c7ce851e773eb4 by Thomas Friedrichsmeier.
Committed on 16/09/2016 at 14:44.
Pushed by tfry into branch 'frameworks'.

Add a TEMPORARY hack to make output change detection work in a live image.

M  +4    -0    rkward/windows/rkhtmlwindow.cpp

http://commits.kde.org/rkward/a3b5e6e579e2ac9e73408a6160c7ce851e773eb4

diff --git a/rkward/windows/rkhtmlwindow.cpp b/rkward/windows/rkhtmlwindow.cpp
index b6514b4..884cf1b 100644
--- a/rkward/windows/rkhtmlwindow.cpp
+++ b/rkward/windows/rkhtmlwindow.cpp
@@ -1004,6 +1004,10 @@ RKOutputWindowManager* RKOutputWindowManager::self () {
 RKOutputWindowManager::RKOutputWindowManager () : QObject () {
 	RK_TRACE (APP);
 
+	// TODO: This is a _temporary_ hack!
+#warning Remove me!
+	qputenv ("KDIRWATCH_METHOD", "Stat");
+
 	file_watcher = new KDirWatch (this);
 	connect (file_watcher, &KDirWatch::dirty, this, &RKOutputWindowManager::fileChanged);
 	connect (file_watcher, &KDirWatch::created, this, &RKOutputWindowManager::fileChanged);



More information about the rkward-tracker mailing list