From 512e9e6934ed074cc08a7712c12d62e4b37aa621 Mon Sep 17 00:00:00 2001 From: san Date: Fri, 2 Dec 2005 15:18:16 +0000 Subject: [PATCH] Integration from GUITHARE team: correction of Help menu behavior --- src/LightApp/LightApp_Application.cxx | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/LightApp/LightApp_Application.cxx b/src/LightApp/LightApp_Application.cxx index f554a11fa..9270ece69 100644 --- a/src/LightApp/LightApp_Application.cxx +++ b/src/LightApp/LightApp_Application.cxx @@ -80,7 +80,11 @@ #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() { -- 2.39.2