fix memory leak

Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
TheKodeToad
2025-03-24 01:48:15 +00:00
parent 0768623e1e
commit 26f9850462
2 changed files with 5 additions and 4 deletions
+2 -1
View File
@@ -24,6 +24,7 @@
#include <Application.h>
#include <translations/TranslationsModel.h>
#include <QTextCursor>
#include "java/JavaChecker.h"
#include "ui/pages/BasePage.h"
@@ -56,6 +57,6 @@ class AppearanceWidget : public QWidget {
void updateCatPreview();
Ui::AppearanceWidget* m_ui;
QTextCharFormat* m_defaultFormat;
QTextCharFormat m_defaultFormat;
bool m_themesOnly;
};