]> git.lyx.org Git - lyx.git/blobdiff - src/graphics/GraphicsCacheItem.cpp
Clean up DeclareDocBookClass
[lyx.git] / src / graphics / GraphicsCacheItem.cpp
index 576ad92bc7a8e734dcb017609ca2be0b9c7993c1..c72ac3865925904b2b1495528fbbef9785faa889 100644 (file)
@@ -61,7 +61,7 @@ public:
         *  file to this->imageConverted.
         *
         *  convertToDisplayFormat() will set the loading status flag as
-        *  approriate through calls to setStatus().
+        *  appropriate through calls to setStatus().
         */
        void convertToDisplayFormat();
 
@@ -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(); });
 }