r19816 by craig - #12710: Remove old variables

scribus-commit scribus-commit at lists.scribus.net
Thu Feb 12 13:20:31 UTC 2015


Author: craig
Date: Thu Feb 12 13:20:31 2015
New Revision: 19816

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=19816
Log:
#12710: Remove old variables

Modified:
    trunk/Scribus/scribus/ui/checkDocument.cpp
    trunk/Scribus/scribus/ui/checkDocument.h

Modified: trunk/Scribus/scribus/ui/checkDocument.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19816&path=/trunk/Scribus/scribus/ui/checkDocument.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/checkDocument.cpp (original)
+++ trunk/Scribus/scribus/ui/checkDocument.cpp Thu Feb 12 13:20:31 2015
@@ -574,7 +574,8 @@
 						pageMap.insert(page, doc->DocPages.at(aPage));
 					}
 					QTreeWidgetItem * errorText = new QTreeWidgetItem(page);
-					errorText->setText(COLUMN_PROBLEM, appliedMasterDifferentSide);
+					errorText->setText(COLUMN_PROBLEM, warnMap[PV_APPLIED_MASTER_DIFF_SIDE].first);
+					errorText->setToolTip(COLUMN_PROBLEM, warnMap[PV_APPLIED_MASTER_DIFF_SIDE].second);
 					errorText->setIcon(COLUMN_ITEM, onlyWarning );
 					pageMap.insert(errorText, doc->DocPages.at(aPage));
 					hasError=true;

Modified: trunk/Scribus/scribus/ui/checkDocument.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19816&path=/trunk/Scribus/scribus/ui/checkDocument.h
==============================================================================
--- trunk/Scribus/scribus/ui/checkDocument.h (original)
+++ trunk/Scribus/scribus/ui/checkDocument.h Thu Feb 12 13:20:31 2015
@@ -125,25 +125,7 @@
 	//! \brief Icon for OK
 	QPixmap noErrors;
 
-	//! \brief Strings for common texts in GUI dialog tree
-	QString missingGlyph;
-	QString textOverflow;
-	QString notOnPage;
-	QString missingImg;
-	QString emptyImg;
-	QString lowDPI;
-	QString highDPI;
-	QString transpar;
-	QString annot;
-	QString rasterPDF;
-	QString isGIF;
-	QString isGIFtoolTip;
-	QString WrongFont;
-	QString partFilledImageFrame;
-	QString notCMYKOrSpot;
-	QString fontNotEmbedded;
-	QString appliedMasterDifferentSide;
-	QString emptyTextFrame;
+	//! \brief enum for warning strings for common texts in GUI dialog tree
 	enum {
 		PV_ANNOTATION,
 		PV_APPLIED_MASTER_DIFF_SIDE,
@@ -166,7 +148,7 @@
 		PV_LAYER_BLENDMODE,
 		PV_LAYER_PRINTVIS_MISMATCH
 	};
-
+	//! \brief Strings for common texts in GUI dialog tree
 	QMap<int, QPair<QString, QString> > warnMap;
 
 	//! \brief Flag if is ignore button shown. true = hidden, false = shown.




More information about the scribus-commit mailing list