mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Display the Subsurface manual in the help widget
This adds a helper function to determine the Subsurface data directory (are we running from build directory? installed on Linux? installed on Mac? - still need to add support for Windows). This same function is then used by both the setup for Marble and for the help browser. This assumes that the user-manual.html file has actually been built and installed (which we don't do by default with the current Makefile). Right now there are rendering issues with our manual in the help browser widget - I'm sure this can be fixed... Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
422e0f94d6
commit
c972c7cbd9
4 changed files with 41 additions and 29 deletions
|
@ -17,5 +17,6 @@ QString get_volume_string(volume_t volume, bool showunit);
|
|||
QString get_pressure_string(pressure_t pressure, bool showunit);
|
||||
void set_default_dive_computer(const char *vendor, const char *product);
|
||||
void set_default_dive_computer_device(const char *name);
|
||||
QString getSubsurfaceDataPath(QString folderToFind);
|
||||
|
||||
#endif /* HELPER_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue