X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fdialogs%2Fstoreprogress.cpp;h=b9c87ee70f49ba433860ab3cfdcda15842d78cf7;hb=5ccfc97e20bbea19b9bc37905dd4cf63ee1f6303;hp=5aeafd141fbc86453a00070eb7a94c5a060777b5;hpb=d2fc6be9af3ba409032da6dcabc4630c657bb56c;p=pulseview.git diff --git a/pv/dialogs/storeprogress.cpp b/pv/dialogs/storeprogress.cpp index 5aeafd14..b9c87ee7 100644 --- a/pv/dialogs/storeprogress.cpp +++ b/pv/dialogs/storeprogress.cpp @@ -14,14 +14,15 @@ * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * along with this program; if not, see . */ #include #include +#include "pv/session.hpp" + #include "storeprogress.hpp" using std::map; @@ -43,6 +44,8 @@ StoreProgress::StoreProgress(const QString &file_name, { connect(&session_, SIGNAL(progress_updated()), this, SLOT(on_progress_updated())); + connect(&session_, SIGNAL(store_successful()), + &session, SLOT(on_data_saved())); } StoreProgress::~StoreProgress()