r22626 by jghali - Small adjustment to previous commit
scribus-commit
scribus-commit at lists.scribus.net
Sun Aug 12 13:31:51 UTC 2018
Author: jghali
Date: Sun Aug 12 13:31:51 2018
New Revision: 22626
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=22626
Log:
Small adjustment to previous commit
Modified:
branches/Version14x/Scribus/scribus/preview.cpp
Modified: branches/Version14x/Scribus/scribus/preview.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=22626&path=/branches/Version14x/Scribus/scribus/preview.cpp
==============================================================================
--- branches/Version14x/Scribus/scribus/preview.cpp (original)
+++ branches/Version14x/Scribus/scribus/preview.cpp Sun Aug 12 13:31:51 2018
@@ -656,7 +656,7 @@
// then add any final args and call gs
if ((EnableCMYK->isChecked()) && HaveTiffSep)
args.append( QString("-sOutputFile=%1").arg(QDir::toNativeSeparators(ScPaths::getTempFileDir()+"/sc.tif")) );
- else if ((AliasTr->isChecked() && HavePngAlpha) || !postscriptPreview)
+ else if ((EnableCMYK->isChecked() && !HaveTiffSep) || (AliasTr->isChecked() && HavePngAlpha) || !postscriptPreview)
args.append( QString("-sOutputFile=%1").arg(QDir::toNativeSeparators(ScPaths::getTempFileDir()+"/sc.png")) );
else
args.append( QString("-sOutputFile=%1").arg(QDir::toNativeSeparators(ScPaths::getTempFileDir()+"/sc.tif")) );
More information about the scribus-commit
mailing list