]> git.lyx.org Git - lyx.git/blobdiff - src/graphics/PreviewImage.C
* filetools.[Ch]: Make functions that start with a capital
[lyx.git] / src / graphics / PreviewImage.C
index 6aa987e4847e9bf659fd6520080a012ec8f6649f..6a057d27f3e8409cd8bb70cf53287426f35957f3 100644 (file)
@@ -27,7 +27,8 @@ using std::string;
 namespace lyx {
 namespace graphics {
 
-struct PreviewImage::Impl : public boost::signals::trackable {
+class PreviewImage::Impl : public boost::signals::trackable {
+public:
        ///
        Impl(PreviewImage & p, PreviewLoader & l,
             string const & s, string const & f, double af);
@@ -150,9 +151,9 @@ void PreviewImage::Impl::statusChanged()
 
        case Ready:
                support::unlink(iloader_.filename());
-               ploader_.emitSignal(parent_);
                break;
        }
+       ploader_.emitSignal(parent_);
 }
 
 } // namespace graphics