X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fdevices%2Ffile.cpp;fp=pv%2Fdevices%2Ffile.cpp;h=f8ec998d8b7310749ac5e201979750af71f3581f;hp=5e1cb859d45073a1c63eb33d3b97be4ef22e09e3;hb=43017494e4cca1f2a0470b57ad3aceb977aced6b;hpb=f2040dcb783986fd478e910a13b6c9bcf8a0a4be diff --git a/pv/devices/file.cpp b/pv/devices/file.cpp index 5e1cb85..f8ec998 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