Moving FileBrowserEntry static variable initialization to a dedicated
method. Fixes a crash introduced by PR #5435.
This commit is contained in:
@@ -50,7 +50,6 @@ class FileBrowserEntry final : public ThumbBrowserEntryBase,
|
||||
{
|
||||
|
||||
double scale;
|
||||
static bool iconsLoaded;
|
||||
bool wasInside;
|
||||
ImageAreaToolListener* iatlistener;
|
||||
int press_x, press_y, action_x, action_y;
|
||||
@@ -80,6 +79,7 @@ public:
|
||||
|
||||
FileBrowserEntry (Thumbnail* thm, const Glib::ustring& fname);
|
||||
~FileBrowserEntry () override;
|
||||
static void init ();
|
||||
void draw (Cairo::RefPtr<Cairo::Context> cc) override;
|
||||
|
||||
void setImageAreaToolListener (ImageAreaToolListener* l)
|
||||
|
Reference in New Issue
Block a user