mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-10 16:14:40 +02:00
hook up
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
@@ -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 );
|
||||
|
@@ -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 );
|
||||
|
Reference in New Issue
Block a user