1
0
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:
Dominik Schmidt 2014-11-17 12:18:09 +01:00
parent c6157ebba2
commit 9182364966
2 changed files with 3 additions and 3 deletions

View File

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

View File

@ -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" ) )