From 45080b769801f3d2790860ee190e359b5fb7249b Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Tue, 11 Apr 2017 12:03:55 +0300 Subject: [PATCH] Add link to forum and Wiki. --HG-- branch : release --- src/app/valentina/mainwindow.cpp | 10 ++++++++-- src/app/valentina/mainwindow.ui | 17 +++++++++++++---- 2 files changed, 21 insertions(+), 6 deletions(-) diff --git a/src/app/valentina/mainwindow.cpp b/src/app/valentina/mainwindow.cpp index 4465fae99..786f67cfb 100644 --- a/src/app/valentina/mainwindow.cpp +++ b/src/app/valentina/mainwindow.cpp @@ -3854,10 +3854,16 @@ void MainWindow::CreateActions() QDesktopServices::openUrl(QUrl(QStringLiteral("https://bitbucket.org/dismine/valentina/issues/new"))); }); - connect(ui->actionOnlineHelp, &QAction::triggered, RECEIVER(this)[this]() + connect(ui->actionWiki, &QAction::triggered, RECEIVER(this)[this]() { qCDebug(vMainWindow, "Showing online help"); - QDesktopServices::openUrl(QUrl(QStringLiteral("https://bitbucket.org/dismine/valentina/wiki/manual/Content"))); + QDesktopServices::openUrl(QUrl(QStringLiteral("https://wiki.valentinaproject.org/wiki/Main_Page"))); + }); + + connect(ui->actionForum, &QAction::triggered, RECEIVER(this)[this]() + { + qCDebug(vMainWindow, "Opening forum"); + QDesktopServices::openUrl(QUrl(QStringLiteral("http://forum.valentina-project.org/"))); }); connect(ui->actionLast_tool, &QAction::triggered, this, &MainWindow::LastUsedTool); diff --git a/src/app/valentina/mainwindow.ui b/src/app/valentina/mainwindow.ui index d2efb063d..c13850e64 100644 --- a/src/app/valentina/mainwindow.ui +++ b/src/app/valentina/mainwindow.ui @@ -1645,7 +1645,8 @@ &Help - + + @@ -2359,13 +2360,13 @@ QAction::NoRole - + .. - Online help + Wiki Show online help @@ -2628,6 +2629,14 @@ QAction::NoRole + + + Forum + + + QAction::NoRole + + @@ -2638,8 +2647,8 @@ - +