1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-06 22:26:32 +02:00

fixed WITH_QTSPARKLE option

This commit is contained in:
Patrick von Reth
2014-03-31 18:06:32 +02:00
parent 9556c1693f
commit 6630de66fe
2 changed files with 3 additions and 3 deletions

View File

@@ -15,7 +15,7 @@
#cmakedefine WITH_BREAKPAD #cmakedefine WITH_BREAKPAD
#cmakedefine WITH_CRASHREPORTER #cmakedefine WITH_CRASHREPORTER
#cmakedefine WITH_BINARY_ATTICA #cmakedefine WITH_BINARY_ATTICA
#cmakedefine QTSPARKLE_FOUND #cmakedefine WITH_QTSPARKLE
#cmakedefine WITH_UPOWER #cmakedefine WITH_UPOWER
#cmakedefine WITH_GNOMESHORTCUTHANDLER #cmakedefine WITH_GNOMESHORTCUTHANDLER

View File

@@ -83,7 +83,7 @@
#include "config.h" #include "config.h"
#if defined( Q_OS_WIN ) #if defined( Q_OS_WIN )
#if defined ( QTSPARKLE_FOUND ) #if defined ( WITH_QTSPARKLE )
#include <qtsparkle/Updater> #include <qtsparkle/Updater>
#endif #endif
#if QT_VERSION >= QT_VERSION_CHECK(5,2,0) #if QT_VERSION >= QT_VERSION_CHECK(5,2,0)
@@ -486,7 +486,7 @@ TomahawkWindow::setupUpdateCheck()
#if defined( Q_OS_MAC ) && defined( HAVE_SPARKLE ) #if defined( Q_OS_MAC ) && defined( HAVE_SPARKLE )
connect( ActionCollection::instance()->getAction( "checkForUpdates" ), SIGNAL( triggered( bool ) ), connect( ActionCollection::instance()->getAction( "checkForUpdates" ), SIGNAL( triggered( bool ) ),
SLOT( checkForUpdates() ) ); SLOT( checkForUpdates() ) );
#elif defined( Q_OS_WIN ) && defined( QTSPARKLE_FOUND ) #elif defined( Q_OS_WIN ) && defined( WITH_QTSPARKLE )
QUrl updaterUrl; QUrl updaterUrl;
if ( qApp->arguments().contains( "--debug" ) ) if ( qApp->arguments().contains( "--debug" ) )