- Added Documentation entry in Help menu

This commit is contained in:
Christophe Dumez 2007-06-17 15:09:00 +00:00
parent 5e73539393
commit e6fca96d0d
4 changed files with 90 additions and 24 deletions

View file

@ -101,7 +101,7 @@ GUI::GUI(QWidget *parent, QStringList torrentCmdLine) : QMainWindow(parent){
actionPreview_file->setIcon(QIcon(QString::fromUtf8(":/Icons/skin/preview.png")));
actionSet_upload_limit->setIcon(QIcon(QString::fromUtf8(":/Icons/skin/seeding.png")));
actionSet_download_limit->setIcon(QIcon(QString::fromUtf8(":/Icons/skin/downloading.png")));
// actionDocumentation->setIcon(QIcon(QString::fromUtf8(":/Icons/help.png")));
actionDocumentation->setIcon(QIcon(QString::fromUtf8(":/Icons/help.png")));
connecStatusLblIcon = new QLabel();
connecStatusLblIcon->setFrameShape(QFrame::NoFrame);
connecStatusLblIcon->setPixmap(QPixmap(QString::fromUtf8(":/Icons/skin/disconnected.png")));
@ -215,6 +215,10 @@ void GUI::on_actionWebsite_triggered(){
QDesktopServices::openUrl(QUrl("http://www.qbittorrent.org"));
}
void GUI::on_actionDocumentation_triggered(){
QDesktopServices::openUrl(QUrl("http://wiki.qbittorrent.org"));
}
void GUI::on_actionBugReport_triggered(){
QDesktopServices::openUrl(QUrl("http://bugs.qbittorrent.org"));
}