r23061 by craig - Reimplement PrefsManager with better singleton approach part 2
scribus-commit
scribus-commit at lists.scribus.net
Mon Jul 1 19:32:04 UTC 2019
Author: craig
Date: Mon Jul 1 19:32:04 2019
New Revision: 23061
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=23061
Log:
Reimplement PrefsManager with better singleton approach part 2
Modified:
trunk/Scribus/scribus/plugins/import/qxp/importqxp.cpp
Modified: trunk/Scribus/scribus/plugins/import/qxp/importqxp.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23061&path=/trunk/Scribus/scribus/plugins/import/qxp/importqxp.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/import/qxp/importqxp.cpp (original)
+++ trunk/Scribus/scribus/plugins/import/qxp/importqxp.cpp Mon Jul 1 19:32:04 2019
@@ -70,8 +70,8 @@
{
QFileInfo fi = QFileInfo(fName);
double b, h;
- b = PrefsManager::instance()->appPrefs.docSetupPrefs.pageWidth;
- h = PrefsManager::instance()->appPrefs.docSetupPrefs.pageHeight;
+ b = PrefsManager::instance().appPrefs.docSetupPrefs.pageWidth;
+ h = PrefsManager::instance().appPrefs.docSetupPrefs.pageHeight;
docWidth = b;
docHeight = h;
progressDialog = nullptr;
@@ -169,9 +169,9 @@
qApp->processEvents();
}
if (b == 0.0)
- b = PrefsManager::instance()->appPrefs.docSetupPrefs.pageWidth;
+ b = PrefsManager::instance().appPrefs.docSetupPrefs.pageWidth;
if (h == 0.0)
- h = PrefsManager::instance()->appPrefs.docSetupPrefs.pageHeight;
+ h = PrefsManager::instance().appPrefs.docSetupPrefs.pageHeight;
docWidth = b;
docHeight = h;
baseX = 0;
More information about the scribus-commit
mailing list