Mercurial > hg > octave-lojdl
changeset 15265:f463154f1c1b
provide correct name of info file for the doc viewer (bug #37229)
* webinfo.cc (webinfo::webinfo): Use Vinfo_file to get name of info
file.
author | Torsten <ttl@justmail.de> |
---|---|
date | Thu, 30 Aug 2012 17:28:08 -0400 |
parents | 94cdf82d4a0c |
children | 219dcb37bdf9 |
files | libgui/src/qtinfo/webinfo.cc |
diffstat | 1 files changed, 9 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libgui/src/qtinfo/webinfo.cc +++ b/libgui/src/qtinfo/webinfo.cc @@ -17,10 +17,18 @@ * Boston, MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #include "webinfo.h" #include <QVBoxLayout> #include <QHBoxLayout> +#include "file-ops.h" +#include "help.h" +#include "defaults.h" + webinfo::webinfo (QWidget *parent) :QWidget (parent) @@ -76,7 +84,7 @@ resize (500, 300); - set_info_path ("../../doc/interpreter/octave.info"); + set_info_path (QString::fromStdString (Vinfo_file)); } void