| 1 |
Description: Disable "phone home" behaviour |
| 2 |
The setting for rclone update check is set to false. |
| 3 |
Origin: https://bugs.launchpad.net/ubuntu/+source/rclone-browser/+bug/2059246 |
| 4 |
Bug-Debian: http://bugs.debian.org/1102487 |
| 5 |
Author: Robie Basak <[email protected]> |
| 6 |
|
| 7 |
--- a/src/preferences_dialog.cpp |
| 8 |
+++ b/src/preferences_dialog.cpp |
| 9 |
@@ -93,10 +93,8 @@ |
| 10 |
ui.defaultRcloneOptions->setText( |
| 11 |
settings->value("Settings/defaultRcloneOptions").toString()); |
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
+ ui.checkRcloneBrowserUpdates->setChecked(false); |
| 18 |
+ ui.checkRcloneUpdates->setChecked(false); |
| 19 |
|
| 20 |
if (QSystemTrayIcon::isSystemTrayAvailable()) { |
| 21 |
ui.alwaysShowInTray->setChecked( |
| 22 |
--- a/src/preferences_dialog.ui |
| 23 |
+++ b/src/preferences_dialog.ui |
| 24 |
@@ -299,6 +299,9 @@ |
| 25 |
</property> |
| 26 |
<item> |
| 27 |
<widget class="QCheckBox" name="checkRcloneBrowserUpdates"> |
| 28 |
+ <property name="enabled"> |
| 29 |
+ <bool>false</bool> |
| 30 |
+ </property> |
| 31 |
<property name="toolTip"> |
| 32 |
<string><html><head/><body><p>check daily for Rclone Browser availability</p></body></html></string> |
| 33 |
</property> |
| 34 |
@@ -309,6 +312,9 @@ |
| 35 |
</item> |
| 36 |
<item> |
| 37 |
<widget class="QCheckBox" name="checkRcloneUpdates"> |
| 38 |
+ <property name="enabled"> |
| 39 |
+ <bool>false</bool> |
| 40 |
+ </property> |
| 41 |
<property name="toolTip"> |
| 42 |
<string><html><head/><body><p>check daily for rclone availability</p></body></html></string> |
| 43 |
</property> |
| 44 |
--- a/src/main_window.cpp |
| 45 |
+++ b/src/main_window.cpp |
| 46 |
@@ -525,10 +525,7 @@ |
| 47 |
settings->value("Settings/rcloneVersion").toString(); |
| 48 |
|
| 49 |
// during first run the key might not exist yet |
| 50 |
|
| 51 |
|
| 52 |
|
| 53 |
|
| 54 |
+ settings->setValue("Settings/checkRcloneUpdates", false); |
| 55 |
|
| 56 |
bool checkRcloneUpdates = |
| 57 |
settings->value("Settings/checkRcloneUpdates").toBool(); |
| 58 |
@@ -603,10 +600,7 @@ |
| 59 |
/// check rclone browser version |
| 60 |
|
| 61 |
// during first run the key might not exist yet |
| 62 |
|
| 63 |
|
| 64 |
|
| 65 |
|
| 66 |
+ settings->setValue("Settings/checkRcloneBrowserUpdates", false); |
| 67 |
|
| 68 |
bool checkRcloneBrowserUpdates = |
| 69 |
settings->value("Settings/checkRcloneBrowserUpdates").toBool(); |
| 70 |
|