diff options
author | Dario Lombardo <lomato@gmail.com> | 2016-10-19 20:53:40 +0200 |
---|---|---|
committer | Roland Knall <rknall@gmail.com> | 2016-10-23 23:25:49 +0000 |
commit | af7fc8b7e4979e77d2d072789e98d58a0b175908 (patch) | |
tree | dca66e206f77f555e48220578f0ae65959821763 /capture_opts.h | |
parent | 3156980aa559186a10e3b8566d41e4a50477d967 (diff) |
Qt: add fullscreen feature.
The feature activates/deactivates fullscreen mode of Qt UI.
A new menu item has been added as well as a shortcut (F11 or Ctrl+Cmd+F)
according to browsers common shortcut.
Change-Id: I01906b494d0a13ce70d27c00ebbe03e6ec87cbd7
Reviewed-on: https://code.wireshark.org/review/18332
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Peter Wu <peter@lekensteyn.nl>
Reviewed-by: Dario Lombardo <lomato@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Roland Knall <rknall@gmail.com>
Diffstat (limited to 'capture_opts.h')
-rw-r--r-- | capture_opts.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/capture_opts.h b/capture_opts.h index 4fc4d67fd1..4cc52f91de 100644 --- a/capture_opts.h +++ b/capture_opts.h @@ -67,6 +67,7 @@ extern "C" { #define LONGOPT_DISABLE_PROTOCOL 130 #define LONGOPT_ENABLE_HEURISTIC 131 #define LONGOPT_DISABLE_HEURISTIC 132 +#define LONGOPT_FULL_SCREEN 133 /* * Options for capturing common to all capturing programs. @@ -108,7 +109,8 @@ extern "C" { {"linktype", required_argument, NULL, 'y'}, \ {"disable-protocol", required_argument, NULL, LONGOPT_DISABLE_PROTOCOL }, \ {"enable-heuristic", required_argument, NULL, LONGOPT_ENABLE_HEURISTIC }, \ - {"disable-heuristic", required_argument, NULL, LONGOPT_DISABLE_HEURISTIC }, + {"disable-heuristic", required_argument, NULL, LONGOPT_DISABLE_HEURISTIC }, \ + {"fullscreen", no_argument, NULL, LONGOPT_FULL_SCREEN }, #define OPTSTRING_CAPTURE_COMMON \ "a:" OPTSTRING_A "b:" OPTSTRING_B "c:Df:i:" OPTSTRING_I "Lps:y:" |