X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fdevices%2Finputfile.cpp;h=e92bf208bf17989039bed7b4dbbbbe277f49093f;hp=411877473b9bf30e235b990243c574f7418c1a61;hb=dd3fd4df34d129c83f7f5d80ff1e8b998beca63d;hpb=5237f0c50352b523c6a0c3d7f931081ecdbdecaa diff --git a/pv/devices/inputfile.cpp b/pv/devices/inputfile.cpp index 41187747..e92bf208 100644 --- a/pv/devices/inputfile.cpp +++ b/pv/devices/inputfile.cpp @@ -34,9 +34,9 @@ InputFile::InputFile(const std::shared_ptr &context, const std::string &file_name, std::shared_ptr format, const std::map &options) : + File(file_name), context_(context), input_(format->create_input(options)), - file_name_(file_name), interrupt_(false) { if (!input_) throw QString("Failed to create input");