[KPhotoAlbum] Couple of more small patches
Robert L Krawitz
rlk at alum.mit.edu
Wed Jul 19 12:04:37 BST 2006
The second one simply fixes a typo (looks like it was my typo). The
first one prevents the image from flashing if you're stepping through
images faster than the caching system can load them.
Index: Viewer/DisplayArea.cpp
===================================================================
--- Viewer/DisplayArea.cpp (revision 563616)
+++ Viewer/DisplayArea.cpp (working copy)
@@ -412,6 +412,10 @@
{
if ( !_cachedView ) // Cached views are always full views
zoom( QPoint(0,0), QPoint( _loadedImage.width(), _loadedImage.height() ) );
+ else {
+ _zStart = QPoint(0,0);
+ _zEnd = QPoint( _loadedImage.width(), _loadedImage.height() );
+ }
_lastZoomType = ZoomFull;
}
Index: Viewer/ViewerWidget.cpp
===================================================================
--- Viewer/ViewerWidget.cpp (revision 563616)
+++ Viewer/ViewerWidget.cpp (working copy)
@@ -405,7 +405,7 @@
void Viewer::ViewerWidget::showNext1000()
{
- showNextN(100);
+ showNextN(1000);
}
void Viewer::ViewerWidget::showPrevN(int n)
More information about the Kphotoalbum
mailing list