r23222 by jghali - Fix help browser issue preventing image fallback to work properly in some situations

scribus-commit scribus-commit at lists.scribus.net
Fri Sep 27 10:36:19 UTC 2019


Author: jghali
Date: Fri Sep 27 10:36:19 2019
New Revision: 23222

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=23222
Log:
Fix help browser issue preventing image fallback to work properly in some situations

Modified:
    trunk/Scribus/scribus/ui/helpbrowser.cpp

Modified: trunk/Scribus/scribus/ui/helpbrowser.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23222&path=/trunk/Scribus/scribus/ui/helpbrowser.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/helpbrowser.cpp	(original)
+++ trunk/Scribus/scribus/ui/helpbrowser.cpp	Fri Sep 27 10:36:19 2019
@@ -521,7 +521,7 @@
 				fi = QFileInfo(searchPath + "/" + fi.fileName());
 				if (fi.exists())
 				{
-					toLoad = searchPath + "/" + fi.fileName();
+					toLoad = fi.fileName();
 					break;
 				}
 			}
@@ -535,7 +535,7 @@
 				fi = QFileInfo(searchPath + "/index.html");
 				if (fi.exists())
 				{
-					toLoad = searchPath + "/index.html";
+					toLoad = "index.html";
 					break;
 				}
 			}




More information about the scribus-commit mailing list