mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-25 14:04:23 +00:00
Remove menu items: "Visit Website" and "Report a Bug".
Many issues opened on github should be asked on forum first, and the links are already present in "About" window.
This commit is contained in:
parent
580642b08e
commit
ade1936f9c
@ -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);
|
||||||
|
@ -97,8 +97,6 @@ protected slots:
|
|||||||
void on_actionAbout_triggered();
|
void on_actionAbout_triggered();
|
||||||
void on_actionStatistics_triggered();
|
void on_actionStatistics_triggered();
|
||||||
void on_actionCreate_torrent_triggered();
|
void on_actionCreate_torrent_triggered();
|
||||||
void on_actionWebsite_triggered() const;
|
|
||||||
void on_actionBugReport_triggered() const;
|
|
||||||
void balloonClicked();
|
void balloonClicked();
|
||||||
void writeSettings();
|
void writeSettings();
|
||||||
void readSettings();
|
void readSettings();
|
||||||
|
@ -51,9 +51,6 @@
|
|||||||
<string>&Help</string>
|
<string>&Help</string>
|
||||||
</property>
|
</property>
|
||||||
<addaction name="actionDocumentation"/>
|
<addaction name="actionDocumentation"/>
|
||||||
<addaction name="actionWebsite"/>
|
|
||||||
<addaction name="actionBugReport"/>
|
|
||||||
<addaction name="separator"/>
|
|
||||||
<addaction name="actionCheck_for_updates"/>
|
<addaction name="actionCheck_for_updates"/>
|
||||||
<addaction name="separator"/>
|
<addaction name="separator"/>
|
||||||
<addaction name="actionDonate_money"/>
|
<addaction name="actionDonate_money"/>
|
||||||
@ -198,15 +195,6 @@
|
|||||||
<string>Delete</string>
|
<string>Delete</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionWebsite">
|
|
||||||
<property name="icon">
|
|
||||||
<iconset resource="../icons.qrc">
|
|
||||||
<normaloff>:/icons/skin/qbittorrent32.png</normaloff>:/icons/skin/qbittorrent32.png</iconset>
|
|
||||||
</property>
|
|
||||||
<property name="text">
|
|
||||||
<string>Visit &Website</string>
|
|
||||||
</property>
|
|
||||||
</action>
|
|
||||||
<action name="actionDownload_from_URL">
|
<action name="actionDownload_from_URL">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Add Torrent &Link...</string>
|
<string>Add Torrent &Link...</string>
|
||||||
@ -220,11 +208,6 @@
|
|||||||
<string>Torrent &Creator</string>
|
<string>Torrent &Creator</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionBugReport">
|
|
||||||
<property name="text">
|
|
||||||
<string>Report a &Bug</string>
|
|
||||||
</property>
|
|
||||||
</action>
|
|
||||||
<action name="actionSet_upload_limit">
|
<action name="actionSet_upload_limit">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Set Upload Limit...</string>
|
<string>Set Upload Limit...</string>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user