gui: mainwindow: Add menu action to open web user manual

This commit is contained in:
2022-07-23 20:16:14 +02:00
parent a33c7f1859
commit ab064c3e3b
4 changed files with 15 additions and 0 deletions

View File

@@ -234,3 +234,8 @@ QString Common::versionText()
QString tag = GIT_TAG;
return tag + " (" + commitid + ") built " + __DATE__ + " " + __TIME__;
}
QString Common::userManualUrl()
{
return QString("https://github.com/quitesimpleorg/looqs/blob/%1/USAGE.md").arg(QString(GIT_COMMIT_ID));
}

View File

@@ -25,5 +25,6 @@ bool isTextFile(QFileInfo fileInfo);
bool isMountPath(QString path);
bool noSandboxModeRequested();
QString versionText();
QString userManualUrl();
} // namespace Common
#endif