mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-10-22 10:46:04 +03:00
- 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
This commit is contained in:
parent
03552c9a1f
commit
002faac042
1 changed files with 4 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue