Commit 2a1ac553 authored by Henrique Pinto's avatar Henrique Pinto
Browse files

* Make the model forward the "error" signal

svn path=/branches/work/libarchive-based-ark/ark/; revision=689725
parent 73f529b4
......@@ -357,6 +357,8 @@ void ArchiveModel::setArchive( Arch *archive )
this, SLOT( slotNewEntry( const ArchiveEntry& ) ) );
connect( m_archive, SIGNAL( opened( bool ) ),
this, SIGNAL( loadingFinished() ) );
connect( m_archive, SIGNAL( error( const QString&, const QString& ) ),
this, SIGNAL( error( const QString&, const QString& ) ) );
emit loadingStarted();
m_archive->open();
}
......
......@@ -51,6 +51,7 @@ class ArchiveModel: public QAbstractItemModel
signals:
void loadingStarted();
void loadingFinished();
void error( const QString& error, const QString& details );
private slots:
void slotNewEntry( const ArchiveEntry& entry );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment