X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FRenderGraphic.h;h=b41b82e61aa1c33753dd18e29d0cb34b2dadecab;hb=3d7ede605978461a6bd67b250925fcc8bf8404c3;hp=938322fad0abf5497d3c0964c7f11a6779d284db;hpb=06254d11dfdf670fab3548dc2a2674e7a261262c;p=lyx.git diff --git a/src/insets/RenderGraphic.h b/src/insets/RenderGraphic.h index 938322fad0..b41b82e61a 100644 --- a/src/insets/RenderGraphic.h +++ b/src/insets/RenderGraphic.h @@ -35,6 +35,8 @@ public: /// Refresh the info about which file to display and how to display it. void update(graphics::Params const & params); + /// Reloads the image if necessary + void reload() const; /// equivalent to dynamic_cast virtual RenderGraphic * asGraphic() { return this; } @@ -45,7 +47,6 @@ private: /// The stored data. graphics::Loader loader_; - graphics::Loader icon_; graphics::Params params_; };