--- a/src/dialogs.cpp Thu Dec 05 23:20:50 2013 +0200 +++ b/src/dialogs.cpp Thu Dec 05 23:42:39 2013 +0200 @@ -250,8 +250,9 @@ // ============================================================================= // ----------------------------------------------------------------------------- -void OpenProgressDialog::NumLinesChanged() -{ ui->progressBar->setRange (0, getNumLines()); +void OpenProgressDialog::setNumLines (int const& a) +{ m_NumLines = a; + ui->progressBar->setRange (0, getNumLines()); updateValues(); }