diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2015-12-10 14:03:27 +0100 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2015-12-10 14:08:58 +0000 |
commit | bfcd1e65141c7929e447132fcb26f4044276ec20 (patch) | |
tree | ebad6261b7155f93e84ac0ccd4e4c8541e86b5cd /ui/qt/wireshark_application.h | |
parent | 5062fe0a88a246cc1202fa991e3f37a7733a8371 (diff) | |
download | wireshark-bfcd1e65141c7929e447132fcb26f4044276ec20.tar.gz |
Qt: Reset preferences when reloading Lua plugins
Reading configuration files may duplicate some entries, so ensure
we reset preferences before reloading.
Change-Id: I746414cbc10c206ddf47669856f329b9e0202a0d
Reviewed-on: https://code.wireshark.org/review/12496
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
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 d236b97ea0..e4f74b86ef 100644 --- a/ui/qt/wireshark_application.h +++ b/ui/qt/wireshark_application.h @@ -92,7 +92,7 @@ public: void allSystemsGo(); void refreshLocalInterfaces(); - struct _e_prefs * readConfigurationFiles(char **gdp_path, char **dp_path); + struct _e_prefs * readConfigurationFiles(char **gdp_path, char **dp_path, bool reset); QList<recent_item_status *> recentItems() const; void addRecentItem(const QString filename, qint64 size, bool accessible); QDir lastOpenDir(); |