Commit 8d9812bf authored by Leslie Zhai's avatar Leslie Zhai

Fix AudioTrackAddingDialog no cancelClicked signal issue

parent 2883e87a
......@@ -34,7 +34,7 @@
#include <QtWidgets/QDialogButtonBox>
#include <QtWidgets/QLabel>
#include <QtWidgets/QVBoxLayout>
#include <QPushButton>
K3b::AudioTrackAddingDialog::AudioTrackAddingDialog( const QList<QUrl>& urls,
......@@ -68,7 +68,7 @@ K3b::AudioTrackAddingDialog::AudioTrackAddingDialog( const QList<QUrl>& urls,
m_analyserJob = new K3b::AudioFileAnalyzerJob( this, this );
connect( m_analyserJob, SIGNAL(finished(bool)), this, SLOT(slotAnalysingFinished(bool)) );
connect( this, SIGNAL(cancelClicked()), this, SLOT(slotCancelClicked()) );
connect(buttonBox->button(QDialogButtonBox::Cancel), SIGNAL(clicked()), this, SLOT(slotCancelClicked()));
}
......
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