aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/manager/wireshark_preference.cpp
diff options
context:
space:
mode:
authorTomasz Moń <desowin@gmail.com>2019-04-21 19:40:19 +0200
committerPeter Wu <peter@lekensteyn.nl>2019-04-24 00:33:37 +0000
commitc42433b6bb89306fbca9c66d958b67322d921226 (patch)
treef3969bba964e4f8df8f4685df91a9febbe6a8363 /ui/qt/manager/wireshark_preference.cpp
parent6a3b24be292f4dc9dcf8dc3adacb1196ec67eea3 (diff)
Qt: Support setting custom preferences
This makes it possible to set the console.log.level from the Advanced preferences window. Change-Id: I5c5551f089a935eef77f54fdcad0ba060f14edfd Reviewed-on: https://code.wireshark.org/review/32930 Petri-Dish: Peter Wu <peter@lekensteyn.nl> Tested-by: Petri Dish Buildbot Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Diffstat (limited to 'ui/qt/manager/wireshark_preference.cpp')
-rw-r--r--ui/qt/manager/wireshark_preference.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/qt/manager/wireshark_preference.cpp b/ui/qt/manager/wireshark_preference.cpp
index bc6543daf1..d4f36622f6 100644
--- a/ui/qt/manager/wireshark_preference.cpp
+++ b/ui/qt/manager/wireshark_preference.cpp
@@ -79,6 +79,7 @@ public:
}
};
REGISTER_PREFERENCE_TYPE(PREF_STRING, StringPreference)
+REGISTER_PREFERENCE_TYPE(PREF_CUSTOM, StringPreference)
class UIntPreference : public StringPreference
{