diff --git a/CMakeLists.txt b/CMakeLists.txt index 4a83a22a0..702298029 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -78,7 +78,6 @@ pkg_check_modules(TAGLIB taglib) if (WIN32) find_package(ZLIB REQUIRED) - find_library(QTSPARKLE_LIBRARIES qtsparkle-qt5) endif (WIN32) find_library(LASTFM5_LIBRARIES lastfm5) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index e19419559..526e8cbb0 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1357,7 +1357,6 @@ if (WIN32) target_link_libraries(clementine_lib protobuf ${ZLIB_LIBRARIES} - ${QTSPARKLE_LIBRARIES} tinysvcmdns dsound ) diff --git a/src/main.cpp b/src/main.cpp index edb883a12..9fc51f605 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -96,10 +96,6 @@ QDBusArgument& operator<<(QDBusArgument& arg, const QImage& image); const QDBusArgument& operator>>(const QDBusArgument& arg, QImage& image); #endif -#ifdef Q_OS_WIN32 -#include -#endif - // Load sqlite plugin on windows and mac. #include Q_IMPORT_PLUGIN(QSQLiteDriverPlugin) @@ -415,11 +411,6 @@ int main(int argc, char* argv[]) { LoadTranslation("clementine", a.applicationDirPath(), language); LoadTranslation("clementine", QDir::currentPath(), language); -#ifdef Q_OS_WIN32 - // Set the language for qtsparkle - qtsparkle::LoadTranslations(language); -#endif - // Icons IconLoader::Init(); diff --git a/src/ui/mainwindow.cpp b/src/ui/mainwindow.cpp index 8b618ca4f..9fac5b60f 100644 --- a/src/ui/mainwindow.cpp +++ b/src/ui/mainwindow.cpp @@ -38,10 +38,6 @@ #include #include -#ifdef Q_OS_WIN32 -#include -#endif - #include "core/appearance.h" #include "core/application.h" #include "core/backgroundstreams.h" @@ -834,15 +830,6 @@ MainWindow::MainWindow(Application* app, SystemTrayIcon* tray_icon, OSD* osd, connect(check_updates, SIGNAL(triggered(bool)), SLOT(CheckForUpdates())); #endif -#ifdef Q_OS_WIN32 - qLog(Debug) << "Creating sparkle updater"; - qtsparkle::Updater* updater = new qtsparkle::Updater( - QUrl("https://clementine-data.appspot.com/sparkle-windows"), this); - updater->SetNetworkAccessManager(new NetworkAccessManager(this)); - updater->SetVersion(CLEMENTINE_VERSION_SPARKLE); - connect(check_updates, SIGNAL(triggered()), updater, SLOT(CheckNow())); -#endif - // Global shortcuts connect(global_shortcuts_, SIGNAL(Play()), app_->player(), SLOT(Play())); connect(global_shortcuts_, SIGNAL(Pause()), app_->player(), SLOT(Pause()));