mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-24 21:35:47 +03:00
Q_UNUSED: Sprinkle around
This commit is contained in:
parent
27826ddee0
commit
de1032ebd7
2 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -896,6 +896,8 @@ void DetermineAuthTypeJob::start()
|
|||
get->setFollowRedirects(false);
|
||||
}
|
||||
#else
|
||||
Q_UNUSED(this)
|
||||
Q_UNUSED(get)
|
||||
Q_UNUSED(target)
|
||||
#endif
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue