mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 03:11:59 +00:00
Cosmetic
This commit is contained in:
parent
99cf71f8eb
commit
c76cbead59
@ -5323,8 +5323,10 @@ void Buffer::updateChangesPresent() const
|
||||
|
||||
void Buffer::Impl::refreshFileMonitor()
|
||||
{
|
||||
if (file_monitor_ && file_monitor_->filename() == filename.absFileName())
|
||||
return file_monitor_->refresh();
|
||||
if (file_monitor_ && file_monitor_->filename() == filename.absFileName()) {
|
||||
file_monitor_->refresh();
|
||||
return;
|
||||
}
|
||||
|
||||
// The previous file monitor is invalid
|
||||
// This also destroys the previous file monitor and all its connections
|
||||
|
@ -176,7 +176,7 @@ public:
|
||||
/// Make sure the good file is being monitored, after e.g. a move or a
|
||||
/// deletion. See <https://bugreports.qt.io/browse/QTBUG-46483>. This is
|
||||
/// called automatically.
|
||||
void refresh() { return monitor_->refresh(); }
|
||||
void refresh() { monitor_->refresh(); }
|
||||
|
||||
Q_SIGNALS:
|
||||
/// Connect to this to be notified when the file changes
|
||||
|
Loading…
Reference in New Issue
Block a user