UI/UserInterface.py

changeset 266
2987579ab76e
parent 258
9402d145020d
child 270
41505c92ac31
--- a/UI/UserInterface.py	Fri May 21 08:46:21 2010 +0200
+++ b/UI/UserInterface.py	Fri May 21 20:35:23 2010 +0200
@@ -4051,17 +4051,13 @@
         """
         self.__assistant(version = 4)
     
-    def __startWebBrowser(self, home = None):
-        """
-        Private slot to start a web browser executable.
+    def __startWebBrowser(self, home = ""):
+        """
+        Private slot to start the eric5 web browser.
         
         @param home full pathname of a file to display (string)
         """
-        started = QDesktopServices.openUrl(QUrl(home))
-        if not started:
-            QMessageBox.critical(self,
-                self.trUtf8('Open Browser'),
-                self.trUtf8('Could not start a web browser'))
+        self.launchHelpViewer(home)
         
     def __customViewer(self, home = None):
         """

eric ide

mercurial