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

@ -171,6 +171,9 @@ void MainWindow::connectSignals()
connect(ui->menuAboutQtAction, &QAction::triggered, this,
[this](bool checked) { QMessageBox::aboutQt(this, "About Qt"); });
connect(ui->menuSyncIndexAction, &QAction::triggered, this, &MainWindow::startIndexSync);
connect(ui->menuOpenUserManualAction, &QAction::triggered, this,
[this]() { QDesktopServices::openUrl(Common::userManualUrl()); });
connect(indexSyncer, &IndexSyncer::finished, this,
[&](unsigned int totalUpdated, unsigned int totalDeleted, unsigned int totalErrored)
{