Helpviewer/Network/QtHelpAccessHandler.py

changeset 3002
6ffc581f00f1
parent 2954
bf0215fe12d1
child 3022
57179e4cdadd
child 3057
10516539f238
diff -r 3674ff5fa8f8 -r 6ffc581f00f1 Helpviewer/Network/QtHelpAccessHandler.py
--- a/Helpviewer/Network/QtHelpAccessHandler.py	Wed Oct 09 19:47:41 2013 +0200
+++ b/Helpviewer/Network/QtHelpAccessHandler.py	Thu Oct 10 18:35:45 2013 +0200
@@ -84,7 +84,8 @@
         """
         Protected method to create a request.
         
-        @param op the operation to be performed (QNetworkAccessManager.Operation)
+        @param op the operation to be performed
+            (QNetworkAccessManager.Operation)
         @param request reference to the request object (QNetworkRequest)
         @param outgoingData reference to an IODevice containing data to be sent
             (QIODevice)
@@ -94,10 +95,10 @@
         strUrl = url.toString()
         
         # For some reason the url to load is already wrong (passed from webkit)
-        # though the css file and the references inside should work that way. One
-        # possible problem might be that the css is loaded at the same level as the
-        # html, thus a path inside the css like (../images/foo.png) might cd out of
-        # the virtual folder
+        # though the css file and the references inside should work that way.
+        # One possible problem might be that the css is loaded at the same
+        # level as the html, thus a path inside the css like
+        # (../images/foo.png) might cd out of the virtual folder
         if not self.__engine.findFile(url).isValid():
             if strUrl.startswith(QtDocPath):
                 newUrl = request.url()

eric ide

mercurial