r14812 by fschmid - Use the new showVerifierWarningsOnCanvas preferences setting for the image resolution warning.

scribus-commit scribus-commit at lists.scribus.net
Thu Feb 25 00:00:21 CET 2010


Revision: 14812
Author: fschmid
Date: 2010-02-24T22:57:34.353274Z
Commit message: Use the new showVerifierWarningsOnCanvas preferences setting for the image resolution warning.

Changeset: 
M  /trunk/Scribus/scribus/pageitem.cpp

Diffs:
Index: scribus/pageitem.cpp
===================================================================
--- scribus/pageitem.cpp	(revision 14811)
+++ scribus/pageitem.cpp	(revision 14812)
@@ -1586,7 +1586,7 @@
 				|| ((72.0 / imageYScale()) < minres) 
 				|| ((72.0 / imageXScale()) > maxres) 
 				|| ((72.0 / imageYScale()) > maxres)) 
-				&& (isRaster) && (checkres) && (!view->m_canvas->isPreviewMode()))
+				&& (isRaster) && (checkres) && (!view->m_canvas->isPreviewMode()) && (PrefsManager::instance()->appPrefs.displayPrefs.showVerifierWarningsOnCanvas))
 			{
 				double ofx = Width - 22.0;
 				double ofy = Height - 22.0;




More information about the scribus-commit mailing list