X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fgraphics%2FPreviewImage.cpp;h=062dd6e7bccccf189f40f0c7aa31bffb6627e6d0;hb=8cb728c2d7a6b70dccb7651f300d9812f645d2ea;hp=b80bf9415b5175bdabf77d1e50b2af144e733137;hpb=816512879d724eaaaa2902019fee8585bead3064;p=features.git diff --git a/src/graphics/PreviewImage.cpp b/src/graphics/PreviewImage.cpp index b80bf9415b..062dd6e7bc 100644 --- a/src/graphics/PreviewImage.cpp +++ b/src/graphics/PreviewImage.cpp @@ -35,7 +35,7 @@ public: /// ~Impl(); /// - Image const * image(); + Image const * image() const; /// void statusChanged(); @@ -125,7 +125,7 @@ PreviewImage::Impl::~Impl() } -Image const * PreviewImage::Impl::image() +Image const * PreviewImage::Impl::image() const { if (iloader_.status() == WaitingToLoad) iloader_.startLoading();