Performance improvement adding many files to queue

see issue 900
This commit is contained in:
Oliver Duis
2011-08-08 22:11:59 +02:00
parent 5fda475e91
commit c0cd1e5d4d
5 changed files with 39 additions and 13 deletions

View File

@@ -22,6 +22,7 @@
#include <gtkmm.h>
#include <thumbbrowserentrybase.h>
#include <set>
#include <options.h>
/*
* Class handling the list of ThumbBrowserEntry objects and their position in it's allocated space
@@ -52,6 +53,7 @@ class ThumbBrowserBase : public Gtk::VBox {
};
protected:
virtual int getMaxThumbnailHeight() const { return options.maxThumbnailHeight; } // Differs between batch and file
Internal internal;
Gtk::HScrollbar hscroll;