[KPhotoAlbum] Couple of more small patches

Sujee Maniyam kimdaba at sujee.net
Fri Jul 21 20:11:18 BST 2006


Robert,
silly question;  Are all the patches you are posting here, against 2.2 
or SVN version?
thanks
/sujee

Robert L Krawitz wrote:
> 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)
> 
> _______________________________________________
> KPhotoAlbum mailing list
> KPhotoAlbum at kdab.net
> http://mail.kdab.net/mailman/listinfo/kphotoalbum
> 
> 




More information about the Kphotoalbum mailing list