1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-26 18:35:20 +00:00
OpenMW/components/misc/helpviewer.cpp

13 lines
249 B
C++
Raw Normal View History

#include "helpviewer.hpp"
#include <QDesktopServices>
2022-09-22 21:26:05 +03:00
#include <QString>
#include <QUrl>
void Misc::HelpViewer::openHelp(const char* url)
{
2022-09-22 21:26:05 +03:00
QString link{ OPENMW_DOC_BASEURL };
link.append(url);
QDesktopServices::openUrl(QUrl(link));
}