From 1bc019f79d79d55a8e2fd59b9e065b083ea2872f Mon Sep 17 00:00:00 2001 From: Joao Carreira Date: Sat, 24 Oct 2015 14:08:11 +0100 Subject: [PATCH] Fix wrong Q_ASSERT --- app/VideoSubWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/VideoSubWindow.cpp b/app/VideoSubWindow.cpp index 6121077..381675e 100644 --- a/app/VideoSubWindow.cpp +++ b/app/VideoSubWindow.cpp @@ -863,7 +863,7 @@ Void VideoSubWindow::zoomToFactor( Double factor, QPoint center ) Void VideoSubWindow::scaleView( Double scale, QPoint center ) { - Q_ASSERT( m_cViewArea->image() ); + Q_ASSERT( !m_cViewArea->image().isNull() ); if( scale != 1.0 ) { Double usedScale;