diff options
author | Markus Goetz <markus@woboq.com> | 2018-04-13 18:15:07 +0300 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-06-05 21:45:51 +0300 |
commit | de1032ebd74d4548a81fa709d3889d70608d80d1 (patch) | |
tree | 8626a9f59a0add956e32c710b62be45f04edf4ef /src/gui/updater | |
parent | 27826ddee0b51ab8f95a0d56a5baf52111b81268 (diff) |
Q_UNUSED: Sprinkle around
Diffstat (limited to 'src/gui/updater')
-rw-r--r-- | src/gui/updater/sparkleupdater_mac.mm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/updater/sparkleupdater_mac.mm b/src/gui/updater/sparkleupdater_mac.mm index a1e3e4f05..88c3541ff 100644 --- a/src/gui/updater/sparkleupdater_mac.mm +++ b/src/gui/updater/sparkleupdater_mac.mm @@ -30,6 +30,7 @@ // Only possible in later versions, we're not up to date here. - (BOOL)updaterMayCheckForUpdates:(SUUpdater *)bundle { + Q_UNUSED(bundle) qCDebug(OCC::lcUpdater) << "may check: YES"; return YES; } @@ -37,17 +38,22 @@ // Sent when a valid update is found by the update driver. - (void)updater:(SUUpdater *)updater didFindValidUpdate:(SUAppcastItem *)update { + Q_UNUSED(updater) + Q_UNUSED(update) } // Sent when a valid update is not found. // Does not seem to get called ever. - (void)updaterDidNotFindUpdate:(SUUpdater *)update { + Q_UNUSED(update) } // Sent immediately before installing the specified update. - (void)updater:(SUUpdater *)updater willInstallUpdate:(SUAppcastItem *)update { + Q_UNUSED(updater) + Q_UNUSED(update) } // Tried implementing those methods, but they never ever seem to get called |