]> sigrok.org Git - pulseview.git/commitdiff
StoreProgress: Add missing log output
authorSoeren Apel <redacted>
Wed, 23 May 2018 19:44:19 +0000 (21:44 +0200)
committerSoeren Apel <redacted>
Wed, 23 May 2018 19:44:19 +0000 (21:44 +0200)
pv/dialogs/storeprogress.cpp

index 0d0a222c2cc5594dc875dfcd0473b169a8c5dd0f..9f4279cea8557a20423c799f0f6abe5785e142ee 100644 (file)
@@ -19,6 +19,7 @@
 
 #include <cassert>
 
+#include <QDebug>
 #include <QMessageBox>
 
 #include "pv/session.hpp"
@@ -78,6 +79,8 @@ void StoreProgress::run()
 
 void StoreProgress::show_error()
 {
+       qDebug() << "Error trying to save:" << session_.error();
+
        QMessageBox msg(parentWidget());
        msg.setText(tr("Failed to save session."));
        msg.setInformativeText(session_.error());