Something went wrong. Try again.
OpenMW is an open implementation of the Morrowind engine
Something went wrong. Try again.
385 B · 15 lines
C++
at master
12345678910111213141516#include "helpviewer.hpp"
#include <QDesktopServices>#include <QString>#include <QUrl>
#include <components/version/version.hpp>
void Misc::HelpViewer::openHelp(const char* url){ std::string_view docsUrl = Version::getDocumentationUrl(); QString link = QString::fromUtf8(docsUrl.data(), docsUrl.size()); link.append(url); QDesktopServices::openUrl(QUrl(link));}