Switch to unified view

a/src/qtgui/guiutils.cpp b/src/qtgui/guiutils.cpp
1
#ifndef lint
1
#ifndef lint
2
static char rcsid[] = "@(#$Id: guiutils.cpp,v 1.39 2008-10-03 08:09:35 dockes Exp $ (C) 2005 Jean-Francois Dockes";
2
static char rcsid[] = "@(#$Id: guiutils.cpp,v 1.40 2008-11-24 15:23:12 dockes Exp $ (C) 2005 Jean-Francois Dockes";
3
#endif
3
#endif
4
/*
4
/*
5
 *   This program is free software; you can redistribute it and/or modify
5
 *   This program is free software; you can redistribute it and/or modify
6
 *   it under the terms of the GNU General Public License as published by
6
 *   it under the terms of the GNU General Public License as published by
7
 *   the Free Software Foundation; either version 2 of the License, or
7
 *   the Free Software Foundation; either version 2 of the License, or
...
...
52
 */
52
 */
53
bool startHelpBrowser(const string &iurl)
53
bool startHelpBrowser(const string &iurl)
54
{
54
{
55
    string url;
55
    string url;
56
    if (iurl.empty()) {
56
    if (iurl.empty()) {
57
    url = path_cat(recoll_datadir, "doc");
57
    url = path_cat(rclconfig->getDatadir(), "doc");
58
    url = path_cat(url, "usermanual.html");
58
    url = path_cat(url, "usermanual.html");
59
    url = string("file://") + url;
59
    url = string("file://") + url;
60
    } else
60
    } else
61
    url = iurl;
61
    url = iurl;
62
62