diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2017-02-13 23:00:00 +0100 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2017-02-14 18:15:12 +0000 |
commit | c01cdd4e47687bf6be505f989ff5e5b54b089ac4 (patch) | |
tree | 36116e0de13b5c329e461476d20e8ff034f74d89 /ui/qt/wireshark_application.h | |
parent | fe78e1302f6076291e7270de2e8443ddb2c082af (diff) | |
download | wireshark-c01cdd4e47687bf6be505f989ff5e5b54b089ac4.tar.gz |
Qt: Reset Default profile support
Add support for resetting the Default profile by deleting it in
the Profile Dialog. All profile files will be deleted and all
other files will be kept.
Change-Id: I795a6db3ee7b2c29e7aba461183e6cc411798b75
Reviewed-on: https://code.wireshark.org/review/20097
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
Diffstat (limited to 'ui/qt/wireshark_application.h')
-rw-r--r-- | ui/qt/wireshark_application.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/qt/wireshark_application.h b/ui/qt/wireshark_application.h index c4b4b786d2..fffce30a73 100644 --- a/ui/qt/wireshark_application.h +++ b/ui/qt/wireshark_application.h @@ -114,7 +114,7 @@ public: const QFont monospaceFont() const { return mono_font_; } void setMonospaceFont(const char *font_string); int monospaceTextSize(const char *str); - void setConfigurationProfile(const gchar *profile_name); + void setConfigurationProfile(const gchar *profile_name, bool write_recent = true); void reloadLuaPluginsDelayed(); bool isInitialized() { return initialized_; } void setReloadingLua(bool is_reloading) { is_reloading_lua_ = is_reloading; } |