X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fgraphics%2FGraphicsCacheItem.cpp;h=f54ce80ec3f0d790c1169745ace908d09eb1e888;hb=8be0ec0db5731b2089462ac81abb67c108cd7840;hp=576ad92bc7a8e734dcb017609ca2be0b9c7993c1;hpb=db58111360d68f76c5797069a7b80967447d1379;p=lyx.git diff --git a/src/graphics/GraphicsCacheItem.cpp b/src/graphics/GraphicsCacheItem.cpp index 576ad92bc7..f54ce80ec3 100644 --- a/src/graphics/GraphicsCacheItem.cpp +++ b/src/graphics/GraphicsCacheItem.cpp @@ -220,7 +220,7 @@ void CacheItem::Impl::startMonitor() return; monitor_ = FileSystemWatcher::activeMonitor(filename_); // Disconnected at the same time as this is destroyed. - monitor_->connect([=](){ startLoading(); }); + monitor_->connect([=](bool /* exists */){ startLoading(); }); }