From 7b0f3a6b66b8ebcce21c97bbb2814e96136f4884 Mon Sep 17 00:00:00 2001 From: Josh Ferrell Date: Wed, 20 Mar 2024 11:12:33 -0400 Subject: Prevent reloading of QSettings file when looking up name for path --- ui/uicontext.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ui/uicontext.h b/ui/uicontext.h index db013320..f8bfbcd3 100644 --- a/ui/uicontext.h +++ b/ui/uicontext.h @@ -4,6 +4,7 @@ #include #include #include +#include #include "binaryninjaapi.h" #include "action.h" #include "preview.h" @@ -350,6 +351,8 @@ class BINARYNINJAUIAPI UIContext static QPointer m_currentPreview; + QSettings m_qsettings; + protected: void setupUIContext(QWidget* obj); -- cgit v1.3.1