Some fixes on zoom and scroll functions, when image windows are overlapped

This commit is contained in:
Luis Lucas
2015-02-22 01:09:44 +00:00
parent 9b6af060c7
commit 2b68739d5a
4 changed files with 55 additions and 25 deletions
+3
View File
@@ -331,6 +331,9 @@ void ViewArea::paintEvent( QPaintEvent *event )
{
QRect winRect = event->rect();
if(visibleRegion().isEmpty())
return;
if( size().isEmpty() || m_pixmap.isNull() )
return;