diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2021-09-21 10:38:05 +0200 |
---|---|---|
committer | Wireshark GitLab Utility <gerald+gitlab-utility@wireshark.org> | 2021-09-21 18:20:34 +0000 |
commit | 533d8594991bbe283b6310ae38c701b802a112e7 (patch) | |
tree | 03eca932230df5334e68764f65296a079464b9d6 /ui/qt | |
parent | 0c735dcf0ab33a9d870ff751118806a9a0521a5f (diff) |
Qt: Register import_hexdump.json as a profile file
Profile files which is only used in Qt is not automatically registered
during startup and must be explicit registered.
Add profile_register_persconffile() to handle this registration.
Diffstat (limited to 'ui/qt')
-rw-r--r-- | ui/qt/main.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/ui/qt/main.cpp b/ui/qt/main.cpp index 63160327ac..bee40005ec 100644 --- a/ui/qt/main.cpp +++ b/ui/qt/main.cpp @@ -1040,10 +1040,11 @@ int main(int argc, char *qt_argv[]) } #endif /* HAVE_LIBPCAP */ - // UAT files used in configuration profiles which are used in Qt dialogs - // are not registered during startup because they only get loaded when - // the dialog is shown. Register them here. - g_free(get_persconffile_path("io_graphs", TRUE)); + // UAT and UI settings files used in configuration profiles which are used + // in Qt dialogs are not registered during startup because they only get + // loaded when the dialog is shown. Register them here. + profile_register_persconffile("io_graphs"); + profile_register_persconffile("import_hexdump.json"); profile_store_persconffiles(FALSE); |