|
|
@ -133,7 +133,6 @@ MainWindow::MainWindow(QWidget *parent) |
|
|
|
actionCreate_torrent->setIcon(GuiIconProvider::instance()->getIcon("document-edit")); |
|
|
|
actionCreate_torrent->setIcon(GuiIconProvider::instance()->getIcon("document-edit")); |
|
|
|
actionAbout->setIcon(GuiIconProvider::instance()->getIcon("help-about")); |
|
|
|
actionAbout->setIcon(GuiIconProvider::instance()->getIcon("help-about")); |
|
|
|
actionStatistics->setIcon(GuiIconProvider::instance()->getIcon("view-statistics")); |
|
|
|
actionStatistics->setIcon(GuiIconProvider::instance()->getIcon("view-statistics")); |
|
|
|
actionBugReport->setIcon(GuiIconProvider::instance()->getIcon("tools-report-bug")); |
|
|
|
|
|
|
|
actionDecreasePriority->setIcon(GuiIconProvider::instance()->getIcon("go-down")); |
|
|
|
actionDecreasePriority->setIcon(GuiIconProvider::instance()->getIcon("go-down")); |
|
|
|
actionBottomPriority->setIcon(GuiIconProvider::instance()->getIcon("go-bottom")); |
|
|
|
actionBottomPriority->setIcon(GuiIconProvider::instance()->getIcon("go-bottom")); |
|
|
|
actionDelete->setIcon(GuiIconProvider::instance()->getIcon("list-remove")); |
|
|
|
actionDelete->setIcon(GuiIconProvider::instance()->getIcon("list-remove")); |
|
|
@ -537,21 +536,11 @@ void MainWindow::updateNbTorrents() |
|
|
|
tabs->setTabText(0, tr("Transfers (%1)").arg(transferList->getSourceModel()->rowCount())); |
|
|
|
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 |
|
|
|
void MainWindow::on_actionDocumentation_triggered() const |
|
|
|
{ |
|
|
|
{ |
|
|
|
QDesktopServices::openUrl(QUrl(QString::fromUtf8("http://doc.qbittorrent.org"))); |
|
|
|
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) |
|
|
|
void MainWindow::tab_changed(int new_tab) |
|
|
|
{ |
|
|
|
{ |
|
|
|
Q_UNUSED(new_tab); |
|
|
|
Q_UNUSED(new_tab); |
|
|
|