X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fviews%2Ftrace%2Fview.cpp;fp=pv%2Fviews%2Ftrace%2Fview.cpp;h=98fd46d2ad4684fb81051956c0995f579abc49d0;hp=0070c743e8d13de97747b356aeb49d287cc847cc;hb=16a832bc5bb4cce24598537c99e0655edb65c1d0;hpb=521bac13ae900d74005e5d76e2c88f586ec7367a diff --git a/pv/views/trace/view.cpp b/pv/views/trace/view.cpp index 0070c74..98fd46d 100644 --- a/pv/views/trace/view.cpp +++ b/pv/views/trace/view.cpp @@ -385,7 +385,7 @@ void View::restore_settings(QSettings &settings) boost::archive::text_iarchive ia(ss); ia >> boost::serialization::make_nvp("ruler_shift", shift); ruler_shift_ = shift; - } catch (boost::archive::archive_exception) { + } catch (boost::archive::archive_exception&) { qDebug() << "Could not restore the view ruler shift"; } } @@ -400,7 +400,7 @@ void View::restore_settings(QSettings &settings) ia >> boost::serialization::make_nvp("offset", offset); // This also updates ruler_offset_ set_offset(offset); - } catch (boost::archive::archive_exception) { + } catch (boost::archive::archive_exception&) { qDebug() << "Could not restore the view offset"; } }