mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 14:16:32 +02:00
Fix qtsparkle usage
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
#cmakedefine WITH_CRASHREPORTER
|
#cmakedefine WITH_CRASHREPORTER
|
||||||
#cmakedefine WITH_BINARY_ATTICA
|
#cmakedefine WITH_BINARY_ATTICA
|
||||||
#cmakedefine WITH_QTSPARKLE
|
#cmakedefine WITH_QtSparkle
|
||||||
#cmakedefine WITH_UPOWER
|
#cmakedefine WITH_UPOWER
|
||||||
#cmakedefine WITH_GNOMESHORTCUTHANDLER
|
#cmakedefine WITH_GNOMESHORTCUTHANDLER
|
||||||
|
|
||||||
|
@@ -87,7 +87,7 @@
|
|||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
#if defined( Q_OS_WIN )
|
#if defined( Q_OS_WIN )
|
||||||
#if defined ( WITH_QTSPARKLE )
|
#if defined ( WITH_QtSparkle )
|
||||||
#include <qtsparkle/Updater>
|
#include <qtsparkle/Updater>
|
||||||
#endif
|
#endif
|
||||||
#include <shellapi.h>
|
#include <shellapi.h>
|
||||||
@@ -517,7 +517,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( WITH_QTSPARKLE )
|
#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