[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [rkward/frameworks] rkward/windows: Add a TEMPORARY hack to make output change detection work in a l
From:       Thomas Friedrichsmeier <thomas.friedrichsmeier () ruhr-uni-bochum ! de>
Date:       2016-09-16 14:45:09
Message-ID: E1bkuO5-0006dQ-VW () code ! kde ! org
[Download RAW message or body]

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);
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic