mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-14 01:03:08 -07:00
commit
e4282c10c7
3 changed files with 43 additions and 71 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue