Wireshark-commits: [Wireshark-commits] master 1e4c4f2: Qt: Make it possible to hide welcome screen
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=1e4c4f2209f64228bdf54011656bdbbfbcba7e63
Submitter: "Tomasz Moń <desowin@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark
Commits:
1e4c4f2 by Gerald Combs (gerald@xxxxxxxxxxxxx):
Qt: Make it possible to hide welcome screen warnings.
The "The NPF driver isn't running. You may have trouble" warning dialog
is now redundant, so remove it along with the "privs.warn_if_no_npf"
recent setting.
Add a more general "sys.warn_if_no_capture" recent setting along with a
getter for SimpleDialog's "Don't show this message again." string. Use
them to add a "Don't show this..." link to the main welcome warning
label.
Change-Id: Idffb800761eebf04b75e4be3f6bf7727dd468949
Reviewed-on: https://code.wireshark.org/review/36042
Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
Petri-Dish: Gerald Combs <gerald@xxxxxxxxxxxxx>
Tested-by: Petri Dish Buildbot
Reviewed-by: Tomasz Moń <desowin@xxxxxxxxx>
Actions performed:
from 19b3376 LDAP bogus malformed errors: decoding encrypted data
add 1e4c4f2 Qt: Make it possible to hide welcome screen warnings.
Summary of changes:
ui/qt/interface_frame.cpp | 28 +++++++++++++++++++++++++---
ui/qt/interface_frame.h | 1 +
ui/qt/interface_frame.ui | 5 +----
ui/qt/main.cpp | 17 ++---------------
ui/qt/simple_dialog.cpp | 7 ++++++-
ui/qt/simple_dialog.h | 1 +
ui/recent.c | 14 +++++++-------
ui/recent.h | 2 +-
8 files changed, 44 insertions(+), 31 deletions(-)