r22595 by jghali - #15372: Unckecking preflight verifier's "Check for empty text frames" has no effect
scribus-commit
scribus-commit at lists.scribus.net
Tue Jul 10 11:11:24 UTC 2018
Author: jghali
Date: Tue Jul 10 11:11:24 2018
New Revision: 22595
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=22595
Log:
#15372: Unckecking preflight verifier's "Check for empty text frames" has no effect
Modified:
trunk/Scribus/scribus/ui/prefs_preflightverifier.cpp
Modified: trunk/Scribus/scribus/ui/prefs_preflightverifier.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=22595&path=/trunk/Scribus/scribus/ui/prefs_preflightverifier.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/prefs_preflightverifier.cpp (original)
+++ trunk/Scribus/scribus/ui/prefs_preflightverifier.cpp Tue Jul 10 11:11:24 2018
@@ -114,6 +114,7 @@
checkerProfile[currentProfile].ignoreOffLayers = checkNonPrintableLayersCheckBox->isChecked();
checkerProfile[currentProfile].checkOffConflictLayers = checkVisiblePrintableLayersCheckBox->isChecked();
checkerProfile[currentProfile].checkAppliedMasterDifferentSide = checkAppliedMasterPageLocationCheckBox->isChecked();
+ checkerProfile[currentProfile].checkEmptyTextFrames = checkEmptyTextFramesCheckBox->isChecked();
}
}
@@ -150,6 +151,9 @@
disconnect(checkPDFAnnotFieldsCheckBox, SIGNAL(clicked()), this, SLOT(putProfile()));
disconnect(checkNonPrintableLayersCheckBox, SIGNAL(clicked()), this, SLOT(putProfile()));
disconnect(checkVisiblePrintableLayersCheckBox, SIGNAL(clicked()), this, SLOT(putProfile()));
+ disconnect(checkAppliedMasterPageLocationCheckBox, SIGNAL(clicked()), this, SLOT(putProfile()));
+ disconnect(checkEmptyTextFramesCheckBox, SIGNAL(clicked()), this, SLOT(putProfile()));
+
ignoreAllErrorsCheckBox->setChecked(checkerProfile[name].ignoreErrors);
autoCheckBeforePrintExportCheckBox->setChecked(checkerProfile[name].autoCheck);
checkMissingGlyphsCheckBox->setChecked(checkerProfile[name].checkGlyphs);
@@ -166,7 +170,10 @@
checkGIFsCheckBox->setChecked(checkerProfile[name].checkForGIF);
checkNonPrintableLayersCheckBox->setChecked(checkerProfile[name].ignoreOffLayers);
checkVisiblePrintableLayersCheckBox->setChecked(checkerProfile[name].checkOffConflictLayers);
+ checkAppliedMasterPageLocationCheckBox->setChecked(checkerProfile[name].checkAppliedMasterDifferentSide);
+ checkEmptyTextFramesCheckBox->setChecked(checkerProfile[name].checkEmptyTextFrames);
currentProfile = name;
+
connect(ignoreAllErrorsCheckBox, SIGNAL(clicked()), this, SLOT(putProfile()));
connect(autoCheckBeforePrintExportCheckBox, SIGNAL(clicked()), this, SLOT(putProfile()));
connect(checkMissingGlyphsCheckBox, SIGNAL(clicked()), this, SLOT(putProfile()));
@@ -182,6 +189,8 @@
connect(checkPDFAnnotFieldsCheckBox, SIGNAL(clicked()), this, SLOT(putProfile()));
connect(checkNonPrintableLayersCheckBox, SIGNAL(clicked()), this, SLOT(putProfile()));
connect(checkVisiblePrintableLayersCheckBox, SIGNAL(clicked()), this, SLOT(putProfile()));
+ connect(checkAppliedMasterPageLocationCheckBox, SIGNAL(clicked()), this, SLOT(putProfile()));
+ connect(checkEmptyTextFramesCheckBox, SIGNAL(clicked()), this, SLOT(putProfile()));
}
void Prefs_PreflightVerifier::addProf()
@@ -203,6 +212,8 @@
checkerSettings.checkForGIF = checkGIFsCheckBox->isChecked();
checkerSettings.ignoreOffLayers = checkNonPrintableLayersCheckBox->isChecked();
checkerSettings.checkOffConflictLayers = checkVisiblePrintableLayersCheckBox->isChecked();
+ checkerSettings.checkAppliedMasterDifferentSide = checkAppliedMasterPageLocationCheckBox->isChecked();
+ checkerSettings.checkEmptyTextFrames = checkEmptyTextFramesCheckBox->isChecked();
checkerProfile.insert(tempNewProfileName, checkerSettings);
currentProfile = tempNewProfileName;
if (checkerProfile.count() > 1)
More information about the scribus-commit
mailing list