diff --git a/src/gui/mainwindow.cpp b/src/gui/mainwindow.cpp index a5b2ae9e2..c2061e580 100644 --- a/src/gui/mainwindow.cpp +++ b/src/gui/mainwindow.cpp @@ -133,7 +133,6 @@ MainWindow::MainWindow(QWidget *parent) actionCreate_torrent->setIcon(GuiIconProvider::instance()->getIcon("document-edit")); actionAbout->setIcon(GuiIconProvider::instance()->getIcon("help-about")); actionStatistics->setIcon(GuiIconProvider::instance()->getIcon("view-statistics")); - actionBugReport->setIcon(GuiIconProvider::instance()->getIcon("tools-report-bug")); actionDecreasePriority->setIcon(GuiIconProvider::instance()->getIcon("go-down")); actionBottomPriority->setIcon(GuiIconProvider::instance()->getIcon("go-bottom")); actionDelete->setIcon(GuiIconProvider::instance()->getIcon("list-remove")); @@ -158,9 +157,9 @@ MainWindow::MainWindow(QWidget *parent) pauseAllMenu->addAction(actionPause_All); actionPause->setMenu(pauseAllMenu); QMenu *lockMenu = new QMenu(this); - QAction *defineUiLockPasswdAct = lockMenu->addAction(tr("Set the password...")); + QAction *defineUiLockPasswdAct = lockMenu->addAction(tr("&Set Password")); connect(defineUiLockPasswdAct, SIGNAL(triggered()), this, SLOT(defineUILockPassword())); - QAction *clearUiLockPasswdAct = lockMenu->addAction(tr("Clear the password")); + QAction *clearUiLockPasswdAct = lockMenu->addAction(tr("&Clear Password")); connect(clearUiLockPasswdAct, SIGNAL(triggered()), this, SLOT(clearUILockPassword())); actionLock_qBittorrent->setMenu(lockMenu); @@ -537,21 +536,11 @@ void MainWindow::updateNbTorrents() tabs->setTabText(0, tr("Transfers (%1)").arg(transferList->getSourceModel()->rowCount())); } -void MainWindow::on_actionWebsite_triggered() const -{ - QDesktopServices::openUrl(QUrl(QString::fromUtf8("http://www.qbittorrent.org"))); -} - void MainWindow::on_actionDocumentation_triggered() const { QDesktopServices::openUrl(QUrl(QString::fromUtf8("http://doc.qbittorrent.org"))); } -void MainWindow::on_actionBugReport_triggered() const -{ - QDesktopServices::openUrl(QUrl(QString::fromUtf8("http://bugs.qbittorrent.org"))); -} - void MainWindow::tab_changed(int new_tab) { Q_UNUSED(new_tab); diff --git a/src/gui/mainwindow.h b/src/gui/mainwindow.h index 7adcb0a87..cd5075923 100644 --- a/src/gui/mainwindow.h +++ b/src/gui/mainwindow.h @@ -97,8 +97,6 @@ protected slots: void on_actionAbout_triggered(); void on_actionStatistics_triggered(); void on_actionCreate_torrent_triggered(); - void on_actionWebsite_triggered() const; - void on_actionBugReport_triggered() const; void balloonClicked(); void writeSettings(); void readSettings(); diff --git a/src/gui/mainwindow.ui b/src/gui/mainwindow.ui index fb5b2aa2f..2552039f3 100644 --- a/src/gui/mainwindow.ui +++ b/src/gui/mainwindow.ui @@ -29,7 +29,7 @@ 0 0 914 - 22 + 20 @@ -40,7 +40,6 @@ - @@ -50,11 +49,10 @@ &Help - - - + + @@ -63,7 +61,7 @@ - Auto-Shutdown on downloads completion + On Downloads &Done @@ -72,7 +70,6 @@ - @@ -85,6 +82,7 @@ + @@ -98,6 +96,8 @@ + + @@ -131,7 +131,6 @@ - @@ -151,7 +150,7 @@ - Exit + E&xit Exit @@ -194,15 +193,6 @@ Delete - - - - :/icons/skin/qbittorrent32.png:/icons/skin/qbittorrent32.png - - - Visit &Website - - Add Torrent &Link... @@ -213,22 +203,17 @@ - Torrent &creator - - - - - Report a &bug + Torrent &Creator - Set upload limit... + Set Upload Limit... - Set download limit... + Set Download Limit... @@ -238,17 +223,17 @@ - Set global download limit... + Set Global Download Limit... - Set global upload limit... + Set Global Upload Limit... - Minimum priority + Minimum Priority true @@ -256,7 +241,7 @@ - Top priority + Top Priority true @@ -264,7 +249,7 @@ - Decrease priority + Decrease Priority true @@ -272,7 +257,7 @@ - Increase priority + Increase Priority true @@ -283,10 +268,10 @@ true - Alternative speed limits + Alternative Speed Limits - Alternative speed limits + Alternative Speed Limits @@ -294,10 +279,10 @@ true - Top &tool bar + &Top Toolbar - Display top tool bar + Display Top Toolbar @@ -305,10 +290,10 @@ true - &Speed in title bar + S&peed in Title Bar - Show transfer speed in title bar + Show Transfer Speed in Title Bar @@ -316,7 +301,7 @@ true - &RSS reader + &RSS Reader @@ -324,34 +309,34 @@ true - Search &engine + Search &Engine - Lock qBittorrent - - - Lock qBittorrent + L&ock qBittorrent Lock + + Lock qBittorrent + Ctrl+L - Import existing torrent... + &Import Existing Torrent... - Import torrent... + Import Torrent... - Donate money + Do&nate! If you like qBittorrent, please donate! @@ -372,7 +357,7 @@ true - Execution &Log + &Log Execution Log @@ -383,7 +368,7 @@ true - Exit qBittorrent + &Exit qBittorrent @@ -391,7 +376,7 @@ true - Suspend system + &Suspend System @@ -399,7 +384,7 @@ true - Hibernate system + &Hibernate System @@ -407,7 +392,7 @@ true - Shutdown system + S&hutdown System @@ -415,7 +400,7 @@ true - Disabled + &Disabled @@ -430,15 +415,15 @@ - Statistics + &Statistics - Check for updates + Check for Updates - Check for program updates + Check for Program Updates