Thumbnails size bug
"Ilya Konkov" <[email protected]> Thu, 31 Jan 2008 16:51:58 +0500
| Newsgroups | gmane.comp.kde.gwenview |
|---|---|
| Message-ID | <[email protected]> |
Hello. Take a look at: http://img210.imageshack.us/img210/6255/gwenviewsliderbuglx2.png Left instance is untouched. On right I moved slider right and then set it back to minimum. This happens only if slider must be restored to minimum, in that case setValue() doesn't emit valueChanged() (because slider's value is already minimal) and setThumbnailSize() is not called in loadConfig(). Patch will fix it, but not sure if it's best solution. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Gwenview-general mailing list Gwenview-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/gwenview-general
thumbsize.patch
(text/x-patch, 371 B)
Index: mainwindow.cpp =================================================================== --- mainwindow.cpp (revision 768971) +++ mainwindow.cpp (working copy) @@ -1312,6 +1312,7 @@ d->mDocumentView->setPalette(palette); d->mThumbnailSlider->setValue(GwenviewConfig::thumbnailSize()); + d->mThumbnailView->setThumbnailSize(GwenviewConfig::thumbnailSize()); }