Remove use of sparkle

This commit is contained in:
Jonas Kvinge
2022-01-15 02:19:43 +01:00
parent 203228bd05
commit fbd2993239
4 changed files with 1 additions and 25 deletions

View File

@@ -55,10 +55,6 @@
#include "globalshortcuts/globalshortcutsmanager.h"
#include "globalshortcuts/globalshortcutsbackend-macos.h"
#ifdef HAVE_SPARKLE
# import <SPUStandardUpdaterController.h>
#endif
#include <QApplication>
#include <QCoreApplication>
#include <QWidget>
@@ -288,10 +284,6 @@ void MacMain() {
ScopedNSAutoreleasePool pool;
// Creates and sets the magic global variable so QApplication will find it.
[MacApplication sharedApplication];
#ifdef HAVE_SPARKLE
// Creates and sets the magic global variable for Sparkle.
[ [SPUStandardUpdaterController sharedUpdater] setDelegate:NSApp];
#endif
}
@@ -303,12 +295,6 @@ void SetApplicationHandler(PlatformInterface *handler) {
[NSApp SetApplicationHandler:handler];
}
void CheckForUpdates() {
#ifdef HAVE_SPARKLE
[ [SPUStandardUpdaterController sharedUpdater] checkForUpdates:NSApp];
#endif
}
static int MapFunctionKey(int keycode) {
switch (keycode) {