X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fdevices%2Ffile.cpp;h=f8ec998d8b7310749ac5e201979750af71f3581f;hb=2b2d10621d5cfd4502fa7a0500170412a5b67941;hp=5e1cb859d45073a1c63eb33d3b97be4ef22e09e3;hpb=2ad82c2e40b6865481733913a2c32735602f63c4;p=pulseview.git diff --git a/pv/devices/file.cpp b/pv/devices/file.cpp index 5e1cb859..f8ec998d 100644 --- a/pv/devices/file.cpp +++ b/pv/devices/file.cpp @@ -32,12 +32,12 @@ File::File(const std::string &file_name) : std::string File::full_name() const { - return boost::filesystem::path(file_name_).filename().string(); + return file_name_; } std::string File::display_name(const DeviceManager&) const { - return File::full_name(); + return boost::filesystem::path(file_name_).filename().string(); } } // namespace devices