opening manual on windows works
This commit is contained in:
parent
a196e49410
commit
2561b03583
1 changed files with 2 additions and 2 deletions
|
@ -61,7 +61,7 @@ MainWindow::MainWindow()
|
|||
auto locations = QStandardPaths::standardLocations(QStandardPaths::DataLocation);
|
||||
for (auto location : locations) {
|
||||
if (QFile::exists(location + QString("/Benutzerhandbuch.pdf"))) {
|
||||
QDesktopServices::openUrl(location + QString("/Benutzerhandbuch.pdf"));
|
||||
QDesktopServices::openUrl(QUrl(QString("file:///") + location + QString("/Benutzerhandbuch.pdf"), QUrl::TolerantMode));
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue