From 002faac042abacea52130ed9cf24fb34c5462319 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Sun, 22 Nov 2009 10:03:40 +0000 Subject: [PATCH] - Update documentation links to point to the actual documentation articles (in french or english depending on the current locale) instead of the wiki main page --- src/GUI.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/GUI.cpp b/src/GUI.cpp index 6d1613be5..186734d44 100644 --- a/src/GUI.cpp +++ b/src/GUI.cpp @@ -239,7 +239,10 @@ void GUI::on_actionWebsite_triggered() const { } void GUI::on_actionDocumentation_triggered() const { - QDesktopServices::openUrl(QUrl(QString::fromUtf8("http://wiki.qbittorrent.org"))); + if(Preferences::getLocale().startsWith("fr")) + QDesktopServices::openUrl(QUrl(QString::fromUtf8("http://60gp.ovh.net/~dchris/wiki/wikka.php?wakka=FrenchDocumentation"))); + else + QDesktopServices::openUrl(QUrl(QString::fromUtf8("http://60gp.ovh.net/~dchris/wiki/wikka.php?wakka=EnglishDocumentation"))); } void GUI::on_actionBugReport_triggered() const {