r23062 by craig - Reimplement PrefsManager with better singleton approach part 3

scribus-commit scribus-commit at lists.scribus.net
Mon Jul 1 19:33:35 UTC 2019


Author: craig
Date: Mon Jul  1 19:33:35 2019
New Revision: 23062

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=23062
Log:
Reimplement PrefsManager with better singleton approach part 3

Modified:
    trunk/Scribus/scribus/plugins/import/qxp/importqxpplugin.cpp

Modified: trunk/Scribus/scribus/plugins/import/qxp/importqxpplugin.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23062&path=/trunk/Scribus/scribus/plugins/import/qxp/importqxpplugin.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/import/qxp/importqxpplugin.cpp	(original)
+++ trunk/Scribus/scribus/plugins/import/qxp/importqxpplugin.cpp	Mon Jul  1 19:33:35 2019
@@ -118,7 +118,7 @@
 	if (fileName.isEmpty())
 	{
 		flags |= lfInteractive;
-		PrefsContext* prefs = PrefsManager::instance()->prefsFile->getPluginContext("importqxp");
+		PrefsContext* prefs = PrefsManager::instance().prefsFile->getPluginContext("importqxp");
 		QString wdir = prefs->get("wdir", ".");
 		CustomFDialog diaf(ScCore->primaryMainWindow(), wdir, QObject::tr("Open"), tr("All Supported Formats")+" (*.qxd *.QXD *.qxt *.QXT);;All Files (*)");
 		if (diaf.exec())




More information about the scribus-commit mailing list