mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-10 23:07:59 +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"));
|
||||
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"));
|
||||
@ -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);
|
||||
|
@ -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();
|
||||
|
@ -51,9 +51,6 @@
|
||||
<string>&Help</string>
|
||||
</property>
|
||||
<addaction name="actionDocumentation"/>
|
||||
<addaction name="actionWebsite"/>
|
||||
<addaction name="actionBugReport"/>
|
||||
<addaction name="separator"/>
|
||||
<addaction name="actionCheck_for_updates"/>
|
||||
<addaction name="separator"/>
|
||||
<addaction name="actionDonate_money"/>
|
||||
@ -198,15 +195,6 @@
|
||||
<string>Delete</string>
|
||||
</property>
|
||||
</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">
|
||||
<property name="text">
|
||||
<string>Add Torrent &Link...</string>
|
||||
@ -220,11 +208,6 @@
|
||||
<string>Torrent &Creator</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionBugReport">
|
||||
<property name="text">
|
||||
<string>Report a &Bug</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionSet_upload_limit">
|
||||
<property name="text">
|
||||
<string>Set Upload Limit...</string>
|
||||
|
Loading…
Reference in New Issue
Block a user