232 self.currentBrowser().setFocus() |
232 self.currentBrowser().setFocus() |
233 |
233 |
234 self.__class__.helpwindows.append(self) |
234 self.__class__.helpwindows.append(self) |
235 |
235 |
236 QDesktopServices.setUrlHandler("http", self.__linkActivated) |
236 QDesktopServices.setUrlHandler("http", self.__linkActivated) |
|
237 QDesktopServices.setUrlHandler("https", self.__linkActivated) |
237 |
238 |
238 # setup connections |
239 # setup connections |
239 # TOC window |
240 # TOC window |
240 self.connect(self.__tocWindow, SIGNAL("linkActivated(const QUrl&)"), |
241 self.connect(self.__tocWindow, SIGNAL("linkActivated(const QUrl&)"), |
241 self.__linkActivated) |
242 self.__linkActivated) |