diff options
| author | Josh Ferrell <josh@vector35.com> | 2024-03-20 11:12:33 -0400 |
|---|---|---|
| committer | Josh Ferrell <josh@vector35.com> | 2024-03-20 11:12:33 -0400 |
| commit | 7b0f3a6b66b8ebcce21c97bbb2814e96136f4884 (patch) | |
| tree | 9892c5b5b57e64719d2677a641cec8017e428fc3 | |
| parent | 0d8f6b73d9ca722d620a8af41145cb3cfdd45920 (diff) | |
Prevent reloading of QSettings file when looking up name for path
| -rw-r--r-- | ui/uicontext.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 <QtCore/QMetaType> #include <QtWidgets/QMainWindow> #include <QtGui/QWheelEvent> +#include <QtCore/QSettings> #include "binaryninjaapi.h" #include "action.h" #include "preview.h" @@ -350,6 +351,8 @@ class BINARYNINJAUIAPI UIContext static QPointer<PreviewWidget> m_currentPreview; + QSettings m_qsettings; + protected: void setupUIContext(QWidget* obj); |
