X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fgraphics%2FGraphicsLoader.cpp;h=36a6c06d2c12748f2f834612d756c313e984b55d;hb=a700d657b3b06541b10ddae8cc5847bd46d06aae;hp=79f5d9d5f3325f1a198c83d3b8003afaf6898aad;hpb=b032e2dfafbf1e86918dd0cd66e5de602edeee00;p=lyx.git diff --git a/src/graphics/GraphicsLoader.cpp b/src/graphics/GraphicsLoader.cpp index 79f5d9d5f3..36a6c06d2c 100644 --- a/src/graphics/GraphicsLoader.cpp +++ b/src/graphics/GraphicsLoader.cpp @@ -78,7 +78,6 @@ static int const s_numimages_ = 10; static int const s_millisecs_ = 500; -// FIXME THREAD LoaderQueue & LoaderQueue::get() { static LoaderQueue singleton; @@ -162,7 +161,7 @@ void LoaderQueue::touch(Cache::ItemPtr const & item) typedef std::shared_ptr ImagePtr; -class Loader::Impl : public boost::signals::trackable { +class Loader::Impl : public boost::signals2::trackable { public: /// Impl(); @@ -188,9 +187,9 @@ public: /// We modify a local copy of the image once it is loaded. ImagePtr image_; /// This signal is emitted when the image loading status changes. - boost::signal signal_; + boost::signals2::signal signal_; /// The connection of the signal StatusChanged - boost::signals::connection sc_; + boost::signals2::connection sc_; double displayPixelRatio() const { @@ -348,7 +347,7 @@ void Loader::setDisplayPixelRatio(double scale) } -boost::signals::connection Loader::connect(slot_type const & slot) const +boost::signals2::connection Loader::connect(slot_type const & slot) const { return pimpl_->signal_.connect(slot); }