Improved releasenotes manual can also be opened from a databasewindow now.

This commit is contained in:
eelke 2022-09-05 15:01:33 +02:00
parent 487f84cf95
commit 0483dc8b3d
9 changed files with 31 additions and 5 deletions

View file

@ -1,7 +1,9 @@
#include "About.h"
#include <QCoreApplication>
#include <QDesktopServices>
#include <QMessageBox>
#include <QString>
#include <QUrl>
void ShowAboutDialog(QWidget *parent)
{
@ -21,3 +23,8 @@ void ShowAboutDialog(QWidget *parent)
"attribution 3.0 license.</p>"
).arg(year).arg(releaseNotesUrl).arg(pgLabVersionString));
}
void OpenManual()
{
QDesktopServices::openUrl(QString("https://eelke.gitlab.io/pgLab/#pglab-user-manual"));
}