[qbittorrent] remove-donate.patch

leigh123linux leigh123linux at fedoraproject.org
Mon Sep 8 18:05:36 UTC 2014


commit 44040cab812bdd3d00598eec5cea7201ab3063cf
Author: leigh123linux <leigh123linux at googlemail.com>
Date:   Mon Sep 8 19:05:18 2014 +0100

    remove-donate.patch

 remove-donate.patch |   57 +++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 57 insertions(+), 0 deletions(-)
---
diff --git a/remove-donate.patch b/remove-donate.patch
new file mode 100644
index 0000000..aec352f
--- /dev/null
+++ b/remove-donate.patch
@@ -0,0 +1,57 @@
+--- a/src/mainwindow.h	2014-03-01 11:41:35.000000000 +0000
++++ b/src/mainwindow.h	2014-09-08 18:49:37.033994067 +0100
+@@ -207,7 +207,6 @@ private slots:
+     void on_actionSpeed_in_title_bar_triggered();
+     void on_actionTop_tool_bar_triggered();
+     void on_action_Import_Torrent_triggered();
+-    void on_actionDonate_money_triggered();
+     void on_actionExecution_Logs_triggered(bool checked);
+     void on_actionAutoExit_qBittorrent_toggled(bool );
+     void on_actionAutoSuspend_system_toggled(bool );
+--- a/src/mainwindow.cpp	2014-03-01 11:41:35.000000000 +0000
++++ b/src/mainwindow.cpp	2014-09-08 18:59:01.255526985 +0100
+@@ -128,7 +128,6 @@ MainWindow::MainWindow(QWidget *parent,
+   actionDecreasePriority->setIcon(IconProvider::instance()->getIcon("go-down"));
+   actionDelete->setIcon(IconProvider::instance()->getIcon("list-remove"));
+   actionDocumentation->setIcon(IconProvider::instance()->getIcon("help-contents"));
+-  actionDonate_money->setIcon(IconProvider::instance()->getIcon("wallet-open"));
+   actionExit->setIcon(IconProvider::instance()->getIcon("application-exit"));
+   actionIncreasePriority->setIcon(IconProvider::instance()->getIcon("go-up"));
+   actionLock_qBittorrent->setIcon(IconProvider::instance()->getIcon("object-locked"));
+@@ -1370,11 +1369,6 @@ void MainWindow::handleUpdateCheckFinish
+ }
+ #endif
+ 
+-void MainWindow::on_actionDonate_money_triggered()
+-{
+-  QDesktopServices::openUrl(QUrl("http://sourceforge.net/donate/index.php?group_id=163414"));
+-}
+-
+ void MainWindow::showConnectionSettings()
+ {
+   on_actionOptions_triggered();
+--- a/src/mainwindow.ui	2014-03-01 11:41:35.000000000 +0000
++++ b/src/mainwindow.ui	2014-09-08 18:51:08.696694259 +0100
+@@ -52,7 +52,6 @@
+     <addaction name="actionBugReport"/>
+     <addaction name="actionWebsite"/>
+     <addaction name="actionDocumentation"/>
+-    <addaction name="actionDonate_money"/>
+     <addaction name="actionCheck_for_updates"/>
+     <addaction name="actionAbout"/>
+    </widget>
+@@ -308,14 +307,6 @@
+     <string>Import torrent...</string>
+    </property>
+   </action>
+-  <action name="actionDonate_money">
+-   <property name="text">
+-    <string>Donate money</string>
+-   </property>
+-   <property name="toolTip">
+-    <string>If you like qBittorrent, please donate!</string>
+-   </property>
+-  </action>
+   <action name="actionStart_All">
+    <property name="text">
+     <string>R&amp;esume All</string>


More information about the scm-commits mailing list