mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-11 08:34:34 +02:00
Fix case for QTSPARKLE_FOUND define.
This commit is contained in:
@@ -88,7 +88,7 @@
|
|||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
#if defined( Q_OS_WIN )
|
#if defined( Q_OS_WIN )
|
||||||
#if defined ( QtSparkle_FOUND )
|
#if defined ( QTSPARKLE_FOUND )
|
||||||
#if QT_VERSION < QT_VERSION_CHECK( 5, 0, 0 )
|
#if QT_VERSION < QT_VERSION_CHECK( 5, 0, 0 )
|
||||||
#include <qtsparkle/Updater>
|
#include <qtsparkle/Updater>
|
||||||
#else
|
#else
|
||||||
@@ -521,7 +521,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( QTSPARKLE_FOUND )
|
||||||
QUrl updaterUrl;
|
QUrl updaterUrl;
|
||||||
|
|
||||||
if ( qApp->arguments().contains( "--debug" ) )
|
if ( qApp->arguments().contains( "--debug" ) )
|
||||||
|
Reference in New Issue
Block a user