SHA256
1
0
forked from pool/flameshot
Files
flameshot/flameshot-remove-update-check.patch
Avindra Goolcharan ce85005dd6 Accepting request 1087383 from home:gber:branches:X11:Utilities
- Add flameshot-remove-update-check.patch: Remove update check, updates are
  supplied by the distribution and making a network request has privacy
  implications

OBS-URL: https://build.opensuse.org/request/show/1087383
OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/flameshot?expand=0&rev=40
2023-05-16 19:18:41 +00:00

21 lines
754 B
Diff

Index: src/core/flameshotdaemon.cpp
===================================================================
--- src/core/flameshotdaemon.cpp.orig 2022-07-03 13:42:21.000000000 +0000
+++ src/core/flameshotdaemon.cpp 2023-05-16 09:20:48.878903358 +0000
@@ -180,6 +180,7 @@ void FlameshotDaemon::showUpdateNotifica
void FlameshotDaemon::getLatestAvailableVersion()
{
+#if 0
// This features is required for MacOS and Windows user and for Linux users
// who installed Flameshot not from the repository.
m_networkCheckUpdates = new QNetworkAccessManager(this);
@@ -196,6 +197,7 @@ void FlameshotDaemon::getLatestAvailable
this->getLatestAvailableVersion();
}
});
+#endif
}
void FlameshotDaemon::checkForUpdates()