forked from pool/flameshot
- 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
21 lines
754 B
Diff
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()
|