From e4bd229ef0c6b89d37206a3a5ce39744887350e9 Mon Sep 17 00:00:00 2001 From: Leo Franchi Date: Tue, 22 May 2012 10:38:54 -0400 Subject: [PATCH] OSX fix --- src/libtomahawk/utils/TomahawkUtils.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/libtomahawk/utils/TomahawkUtils.cpp b/src/libtomahawk/utils/TomahawkUtils.cpp index 2db7ccb3b..16d8e2a70 100644 --- a/src/libtomahawk/utils/TomahawkUtils.cpp +++ b/src/libtomahawk/utils/TomahawkUtils.cpp @@ -889,7 +889,6 @@ extractBinaryResolver( const QString& zipFilename, QObject* receiver ) return; const QDir resolverPath( extractScriptPayload( zipFilename, resolverId ) ); -#endif #ifdef Q_OS_WIN const QStringList files = resolverPath.entryList( QStringList() << "*.exe", QDir::Files ); @@ -911,6 +910,8 @@ extractBinaryResolver( const QString& zipFilename, QObject* receiver ) #endif QMetaObject::invokeMethod(receiver, "installSucceeded", Qt::DirectConnection, Q_ARG( QString, resolverToUse ) ); + +#endif }