Switch to unified view

a/src/qtgui/rclmain_w.cpp b/src/qtgui/rclmain_w.cpp
...
...
944
 * used for reading help */
944
 * used for reading help */
945
static bool lookForHtmlBrowser(string &exefile)
945
static bool lookForHtmlBrowser(string &exefile)
946
{
946
{
947
    static const char *htmlbrowserlist = 
947
    static const char *htmlbrowserlist = 
948
    "opera konqueror firefox mozilla netscape epiphany";
948
    "opera konqueror firefox mozilla netscape epiphany";
949
    list<string> blist;
949
    vector<string> blist;
950
    stringToTokens(htmlbrowserlist, blist, " ");
950
    stringToTokens(htmlbrowserlist, blist, " ");
951
951
952
    const char *path = getenv("PATH");
952
    const char *path = getenv("PATH");
953
    if (path == 0)
953
    if (path == 0)
954
    path = "/bin:/usr/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/local/bin";
954
    path = "/bin:/usr/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/local/bin";
955
955
956
    // Look for each browser 
956
    // Look for each browser 
957
    for (list<string>::const_iterator bit = blist.begin(); 
957
    for (vector<string>::const_iterator bit = blist.begin(); 
958
     bit != blist.end(); bit++) {
958
     bit != blist.end(); bit++) {
959
    if (ExecCmd::which(*bit, exefile, path)) 
959
    if (ExecCmd::which(*bit, exefile, path)) 
960
        return true;
960
        return true;
961
    }
961
    }
962
    exefile.clear();
962
    exefile.clear();