Minor cleanup
This commit is contained in:
@@ -27,11 +27,6 @@ FileBrowserEntry::FileBrowserEntry (Thumbnail* thm, const Glib::ustring& fname)
|
|||||||
exifline = thumbnail->getExifString ();
|
exifline = thumbnail->getExifString ();
|
||||||
}
|
}
|
||||||
|
|
||||||
void ThumbBrowserEntry::obtainThumbnailImage () {
|
|
||||||
|
|
||||||
preview = thumbnail ? (guint8*) thumbnail->getThumbnailImage (prew, preh) : NULL;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ThumbBrowserEntry::obtainThumbnailSize () {
|
void ThumbBrowserEntry::obtainThumbnailSize () {
|
||||||
|
|
||||||
if (thumbnail)
|
if (thumbnail)
|
||||||
|
@@ -40,7 +40,7 @@ protected:
|
|||||||
int sideMargin;
|
int sideMargin;
|
||||||
int lowerMargin;
|
int lowerMargin;
|
||||||
|
|
||||||
guint8* preview;
|
guint8* preview; // holds the preview image. used in updateBackBuffer. TODO Olli: Make a cache to reduce mem significantly
|
||||||
|
|
||||||
Glib::ustring dispname;
|
Glib::ustring dispname;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user