X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fsupport%2FFileMonitor.h;h=07a8dc532c93335007ab4f9b79e5b24afa445dd6;hb=cf14e814124ccbc8155fa1dde98d03be319c0e87;hp=14aa834c80c6a556a09fb2a73ae96f92999f5154;hpb=fd6189b7e323c49c6af1948a600741eef01caa79;p=lyx.git diff --git a/src/support/FileMonitor.h b/src/support/FileMonitor.h index 14aa834c80..07a8dc532c 100644 --- a/src/support/FileMonitor.h +++ b/src/support/FileMonitor.h @@ -60,10 +60,6 @@ typedef std::unique_ptr ActiveFileMonitorPtr; /// monitor.connect(...); /// (stops watching the first) /// -/// Reset connections: -/// monitor.disconnect(); -/// or the disconnect method of the connection object for the boost signal. -/// class FileSystemWatcher { public: @@ -137,9 +133,6 @@ public: typedef sig::slot_type slot; /// Connect and you'll be informed when the file has changed. signals2::connection connect(slot const &); - /// disconnect all slots connected to the boost signal fileChanged_ or to - /// the qt signal fileChanged() - void disconnect(); /// absolute path being tracked std::string const & filename() { return monitor_->filename(); } /// Make sure the good file is being monitored, after e.g. a move or a