diff libgui/src/m-editor/file-editor-tab.cc @ 17737:d3bb7f1e3971

prevent the editor's file watcher from signaling fasle alarms (bug #40312) * file-editor-tab.cc(constructor): use polling engine for the file watcher * octave-gui.cc(message_handler): new message handler for suppressing debug- messages from QFileSystemWatcher; (octave_start_gui): install new message handler
author Torsten <ttl@justmail.de>
date Wed, 23 Oct 2013 20:50:58 +0200
parents 97ed9dd479ab
children d63878346099
line wrap: on
line diff
--- a/libgui/src/m-editor/file-editor-tab.cc	Wed Oct 23 19:14:12 2013 +0200
+++ b/libgui/src/m-editor/file-editor-tab.cc	Wed Oct 23 20:50:58 2013 +0200
@@ -69,6 +69,7 @@
     directory.append ("/");
 
   _file_name = directory;
+  _file_system_watcher.setObjectName ("_qt_autotest_force_engine_poller");
 
   _edit_area = new octave_qscintilla (this);
   // Connect signal for command execution to a slot of this tab which in turn