1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-10 16:14:40 +02:00
This commit is contained in:
Leo Franchi
2012-05-13 20:48:55 -04:00
parent bb5e5c33ca
commit 81575c68e8
3 changed files with 9 additions and 5 deletions

View File

@@ -66,6 +66,8 @@ public slots:
TomahawkSettingsGui::instanceGui()->setAtticaResolverStates( m_manager.data()->m_resolverStates );
emit m_manager.data()->resolverInstalled( m_resolverId );
emit m_manager.data()->resolverStateChanged( m_resolverId );
deleteLater();
}
void extractFailed()
{
@@ -73,6 +75,8 @@ public slots:
return;
m_manager.data()->resolverInstallationFailed( m_resolverId );
deleteLater();
}
private:
@@ -574,7 +578,7 @@ AtticaManager::payloadFetched()
return;
}
TomahawkUtils::extractBinaryResolver( f.fileName(), resolverId, 0 );
TomahawkUtils::extractBinaryResolver( f.fileName(), new BinaryInstallerHelper( resolverId, this ) );
}
else
{

View File

@@ -845,7 +845,7 @@ unzipFileInFolder( const QString &zipFileName, const QDir &folder )
void
extractBinaryResolver( const QString& zipFilename, const QString& resolverId, QObject* )
extractBinaryResolver( const QString& zipFilename, QObject* )
{
#if !defined(Q_OS_MAC) && !defined (Q_OS_WIN)
Q_ASSERT( false );

View File

@@ -146,7 +146,7 @@ namespace TomahawkUtils
// Extracting may be asynchronous, pass in a receiver object with the following slots:
// extractSucceeded( const QString& path ) and extractFailed() to be notified/
DLLEXPORT void extractBinaryResolver( const QString& zipFilename, const QString& resolverId, QObject* receiver );
DLLEXPORT void extractBinaryResolver( const QString& zipFilename, QObject* receiver );
// Used by the above, not exported
void copyWithAuthentication( const QString& srcFile, const QDir dest, QObject* receiver );