mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-11-04 14:26:42 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
	
		
			249 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			12 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));
 | 
						|
}
 |