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

@@ -779,10 +779,9 @@ MainWindow::MainWindow(Application *app, std::shared_ptr<SystemTrayIcon> tray_ic
thumbbar_->SetActions(QList<QAction*>() << ui_->action_previous_track << ui_->action_play_pause << ui_->action_stop << ui_->action_next_track << nullptr << ui_->action_love);
#endif
#if defined(HAVE_SPARKLE) || defined(HAVE_QTSPARKLE)
#if defined(HAVE_QTSPARKLE)
QAction *check_updates = ui_->menu_tools->addAction(tr("Check for updates..."));
check_updates->setMenuRole(QAction::ApplicationSpecificRole);
QObject::connect(check_updates, &QAction::triggered, this, &MainWindow::CheckForUpdates);
#endif
#ifdef HAVE_GLOBALSHORTCUTS
@@ -2492,12 +2491,6 @@ bool MainWindow::LoadUrl(const QString &url) {
}
void MainWindow::CheckForUpdates() {
#if defined(Q_OS_MACOS)
mac::CheckForUpdates();
#endif
}
void MainWindow::PlaylistUndoRedoChanged(QAction *undo, QAction *redo) {
playlist_menu_->insertAction(playlist_undoredo_, undo);