r22847 by jghali - Fix build/copy paste error

scribus-commit scribus-commit at lists.scribus.net
Sat Feb 23 20:00:16 UTC 2019


Author: jghali
Date: Sat Feb 23 20:00:16 2019
New Revision: 22847

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=22847
Log:
Fix build/copy paste error

Modified:
    trunk/Scribus/scribus/scribuscore.cpp

Modified: trunk/Scribus/scribus/scribuscore.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=22847&path=/trunk/Scribus/scribus/scribuscore.cpp
==============================================================================
--- trunk/Scribus/scribus/scribuscore.cpp	(original)
+++ trunk/Scribus/scribus/scribuscore.cpp	Sat Feb 23 20:00:16 2019
@@ -561,7 +561,7 @@
 		m_prefsManager->appPrefs.colorPrefs.DCMSset.DefaultSolidColorCMYKProfile = ip.key();
 	}
 
-	QString defaultMonitorProfile = m_prefsManager->appPrefs.colorPrefs.DCMSset.DefaultMonitorProfile.isEmpty();
+	QString defaultMonitorProfile = m_prefsManager->appPrefs.colorPrefs.DCMSset.DefaultMonitorProfile;
 	if ((defaultMonitorProfile.isEmpty()) || (!MonitorProfiles.contains(defaultMonitorProfile)))
 	{
 		ip = MonitorProfiles.find(defaultRGBString1);
@@ -572,7 +572,7 @@
 		m_prefsManager->appPrefs.colorPrefs.DCMSset.DefaultMonitorProfile = ip.key();
 	}
 
-	QString defaultPrinterProfile = m_prefsManager->appPrefs.colorPrefs.DCMSset.DefaultPrinterProfile.isEmpty();
+	QString defaultPrinterProfile = m_prefsManager->appPrefs.colorPrefs.DCMSset.DefaultPrinterProfile;
 	if ((defaultPrinterProfile.isEmpty()) || (!PrinterProfiles.contains(defaultPrinterProfile)))
 	{
 		ip = PrinterProfiles.find(defaultCMYKString1);




More information about the scribus-commit mailing list