diff options
author | Dario Lombardo <lomato@gmail.com> | 2018-03-28 09:11:49 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2018-03-28 16:23:55 +0000 |
commit | f31314902067754c60201dc0f96ce4fada2dd034 (patch) | |
tree | 1df821c90fb3a2ac745f67bdc1f5e0fa11869e20 /ui/qt/capture_file.cpp | |
parent | 653af0f6d07cc55d1fd683abf7a3925bc7f75e81 (diff) |
Qt: keep the extension in CaptureFile::fileName().
Change-Id: Iaecae7eea8398ae648bd31a0ae464242123f156b
Reviewed-on: https://code.wireshark.org/review/26551
Petri-Dish: Dario Lombardo <lomato@gmail.com>
Reviewed-by: Dario Lombardo <lomato@gmail.com>
Tested-by: Dario Lombardo <lomato@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'ui/qt/capture_file.cpp')
-rw-r--r-- | ui/qt/capture_file.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/qt/capture_file.cpp b/ui/qt/capture_file.cpp index 49975352df..f291c14158 100644 --- a/ui/qt/capture_file.cpp +++ b/ui/qt/capture_file.cpp @@ -110,7 +110,7 @@ const QString CaptureFile::fileName() { if (isValid()) { QFileInfo cfi(QString::fromUtf8(cap_file_->filename)); - file_name_ = cfi.baseName(); + file_name_ = cfi.fileName(); } return file_name_; |