1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-06 00:55:50 +00:00
OpenMW/components/misc/helpviewer.cpp
2022-09-22 21:35:26 +03:00

13 lines
249 B
C++

#include "helpviewer.hpp"
#include <QDesktopServices>
#include <QString>
#include <QUrl>
void Misc::HelpViewer::openHelp(const char* url)
{
QString link{ OPENMW_DOC_BASEURL };
link.append(url);
QDesktopServices::openUrl(QUrl(link));
}