mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-19 23:39:42 +01:00
Fix qtsparkle usage
This commit is contained in:
parent
c6157ebba2
commit
9182364966
@ -15,7 +15,7 @@
|
||||
|
||||
#cmakedefine WITH_CRASHREPORTER
|
||||
#cmakedefine WITH_BINARY_ATTICA
|
||||
#cmakedefine WITH_QTSPARKLE
|
||||
#cmakedefine WITH_QtSparkle
|
||||
#cmakedefine WITH_UPOWER
|
||||
#cmakedefine WITH_GNOMESHORTCUTHANDLER
|
||||
|
||||
|
@ -87,7 +87,7 @@
|
||||
#include "config.h"
|
||||
|
||||
#if defined( Q_OS_WIN )
|
||||
#if defined ( WITH_QTSPARKLE )
|
||||
#if defined ( WITH_QtSparkle )
|
||||
#include <qtsparkle/Updater>
|
||||
#endif
|
||||
#include <shellapi.h>
|
||||
@ -517,7 +517,7 @@ TomahawkWindow::setupUpdateCheck()
|
||||
#if defined( Q_OS_MAC ) && defined( HAVE_SPARKLE )
|
||||
connect( ActionCollection::instance()->getAction( "checkForUpdates" ), SIGNAL( triggered( bool ) ),
|
||||
SLOT( checkForUpdates() ) );
|
||||
#elif defined( Q_OS_WIN ) && defined( WITH_QTSPARKLE )
|
||||
#elif defined( Q_OS_WIN ) && defined( WITH_QtSparkle )
|
||||
QUrl updaterUrl;
|
||||
|
||||
if ( qApp->arguments().contains( "--debug" ) )
|
||||
|
Loading…
x
Reference in New Issue
Block a user