Helpviewer/Network/EricAccessHandler.py

changeset 3991
73731c4bf5bd
parent 3794
b460b30fab8f
child 4021
195a471c327b
equal deleted inserted replaced
3990:5dd6edf8540a 3991:73731c4bf5bd
74 if self._speedDialPage is None: 74 if self._speedDialPage is None:
75 htmlFile = QFile(":/html/speeddialPage.html") 75 htmlFile = QFile(":/html/speeddialPage.html")
76 htmlFile.open(QFile.ReadOnly) 76 htmlFile.open(QFile.ReadOnly)
77 html = bytes(htmlFile.readAll()).decode() 77 html = bytes(htmlFile.readAll()).decode()
78 78
79 html = (html.replace("@FAVICON@", "qrc:icons/ericWeb16.png") 79 html = (
80 html.replace("@FAVICON@", "qrc:icons/ericWeb16.png")
80 .replace("@IMG_PLUS@", "qrc:icons/plus.png") 81 .replace("@IMG_PLUS@", "qrc:icons/plus.png")
81 .replace("@IMG_CLOSE@", "qrc:icons/close.png") 82 .replace("@IMG_CLOSE@", "qrc:icons/close.png")
82 .replace("@IMG_EDIT@", "qrc:icons/edit.png") 83 .replace("@IMG_EDIT@", "qrc:icons/edit.png")
83 .replace("@IMG_RELOAD@", "qrc:icons/reload.png") 84 .replace("@IMG_RELOAD@", "qrc:icons/reload.png")
84 .replace("@IMG_SETTINGS@", "qrc:icons/setting.png") 85 .replace("@IMG_SETTINGS@", "qrc:icons/setting.png")

eric ide

mercurial