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:
@@ -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
|
||||||
|
|
||||||
|
@@ -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" ) )
|
||||||
|
Reference in New Issue
Block a user