r18195 by fschmid - Fixed crash in the picbrowser when displaying svg files.

scribus-commit scribus-commit at lists.scribus.net
Sun Mar 10 22:35:48 UTC 2013


Author: fschmid
Date: Sun Mar 10 22:35:47 2013
New Revision: 18195

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18195
Log:
Fixed crash in the picbrowser when displaying svg files.

Modified:
    trunk/Scribus/scribus/scribusdoc.cpp

Modified: trunk/Scribus/scribus/scribusdoc.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18195&path=/trunk/Scribus/scribus/scribusdoc.cpp
==============================================================================
--- trunk/Scribus/scribus/scribusdoc.cpp (original)
+++ trunk/Scribus/scribus/scribusdoc.cpp Sun Mar 10 22:35:47 2013
@@ -11540,7 +11540,8 @@
 	}
 	
 	regionsChanged()->update(QRectF());
-	m_View->setCursor(QCursor(Qt::ArrowCursor));
+	if (m_View)
+		m_View->setCursor(QCursor(Qt::ArrowCursor));
 	//CB FIXME remove this and tree.h too
 //	m_ScMW->outlinePalette->BuildTree();
 




More information about the scribus-commit mailing list