]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Integration from GUITHARE team: correction of Help menu behavior
authorsan <san@opencascade.com>
Fri, 2 Dec 2005 15:18:16 +0000 (15:18 +0000)
committersan <san@opencascade.com>
Fri, 2 Dec 2005 15:18:16 +0000 (15:18 +0000)
src/LightApp/LightApp_Application.cxx

index f554a11fadbc4162c8f9c6c8f651a6651be376e4..9270ece694f87c5caa31f233c42f631e758f95af 100644 (file)
 #define OBJECT_BROWSER_WIDTH 300
 #define OBJECT_COLUMN_WIDTH 150
 
+#ifdef WIN32
+#define DEFAULT_BROWSER "start iexplore.exe"
+#else
 #define DEFAULT_BROWSER "mozilla"
+#endif
 
 #define FIRST_HELP_ID 1000000
 
@@ -754,7 +758,13 @@ class RunBrowser: public QThread {
 public:
 
   RunBrowser(QString theApp, QString theParams, QString theHelpFile, QString theContext=NULL):
-    myApp(theApp), myParams(theParams), myHelpFile("file:" + theHelpFile + theContext), myStatus(0) {};
+    myApp(theApp), myParams(theParams), 
+#ifdef WIN32
+      myHelpFile("file://" + theHelpFile + theContext), 
+#else
+      myHelpFile("file:" + theHelpFile + theContext),
+#endif
+      myStatus(0) {};
 
   virtual void run()
   {