diff options
author | Roland Knall <roland.knall@br-automation.com> | 2015-12-29 14:57:53 +0100 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2015-12-30 08:11:57 +0000 |
commit | 0d47113ddc53714ecd6d3c1b58b694321649d89e (patch) | |
tree | 1fb4c3b5fe3092d6442aaf924b37b2e165c1c223 /ui/qt/extcap_argument.h | |
parent | 0921c8214ef225fe2b84c5ace0113ea1e931c70c (diff) |
extcap: Add file extension check
The file-open dialog can now be set with file extensions, allowing
the exclusion of unwanted file types. The syntax is the same
as for the Qt QFileDialog, e.g.: "Wireshark (*.pcap *.pcapng)"
Also, the mustexist option is now considered correctly
Change-Id: I9d4efbb5089ce1af640b2a894de07ed79520271e
Reviewed-on: https://code.wireshark.org/review/12913
Reviewed-by: Roland Knall <rknall@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'ui/qt/extcap_argument.h')
-rw-r--r-- | ui/qt/extcap_argument.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/qt/extcap_argument.h b/ui/qt/extcap_argument.h index 0fdc59f31b..9287628a7c 100644 --- a/ui/qt/extcap_argument.h +++ b/ui/qt/extcap_argument.h @@ -98,6 +98,8 @@ Q_SIGNALS: protected: + bool fileExists(); + void setDefault(GHashTable * defaultsList); ExtcapValueList loadValues(QString parent); |