Browse Source

- 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

adaptive-webui-19844
Christophe Dumez 15 years ago
parent
commit
002faac042
  1. 5
      src/GUI.cpp

5
src/GUI.cpp

@ -239,7 +239,10 @@ void GUI::on_actionWebsite_triggered() const {
} }
void GUI::on_actionDocumentation_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 { void GUI::on_actionBugReport_triggered() const {

Loading…
Cancel
Save