summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleix Pol <[email protected]>2018-12-13 16:54:42 +0100
committerAleix Pol <[email protected]>2018-12-13 16:54:42 +0100
commit9136b27a8d479c5a16c009dde79990016cd12e71 (patch)
tree3a64f0650ea0c2bd6f5be444487c4e15e81f665e
parent0731c75b396e5f96e9056aa39888fa910c5be376 (diff)
Remove unused code
-rw-r--r--libdiscover/backends/FlatpakBackend/FlatpakTransactionThread.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/libdiscover/backends/FlatpakBackend/FlatpakTransactionThread.cpp b/libdiscover/backends/FlatpakBackend/FlatpakTransactionThread.cpp
index 7a59ade..54c49be 100644
--- a/libdiscover/backends/FlatpakBackend/FlatpakTransactionThread.cpp
+++ b/libdiscover/backends/FlatpakBackend/FlatpakTransactionThread.cpp
@@ -26,19 +26,6 @@
static int FLATPAK_CLI_UPDATE_FREQUENCY = 150;
-static void flatpakInstallationProgressCallback(const gchar *stats, guint progress, gboolean estimating, gpointer userData)
-{
- Q_UNUSED(estimating);
- Q_UNUSED(stats);
-
- FlatpakTransactionThread *transactionJob = (FlatpakTransactionThread*)userData;
- if (!transactionJob) {
- return;
- }
-
- transactionJob->setProgress(progress);
-}
-
gboolean
add_new_remote_cb(FlatpakTransaction */*object*/,
gint /*reason*/,