Revert "meh"

This reverts commit 9d9204430e.
This commit is contained in:
Nayla Hanegan 2024-05-23 17:35:22 -04:00
parent 79e5ce3819
commit d07549505a
9 changed files with 219 additions and 2 deletions

View file

@ -166,6 +166,11 @@ CodeViewWidget::CodeViewWidget()
FontBasedSizing();
#if QT_VERSION >= QT_VERSION_CHECK(6, 5, 0)
connect(QGuiApplication::styleHints(), &QStyleHints::colorSchemeChanged, this,
[this](Qt::ColorScheme colorScheme) { OnSelectionChanged(); });
#endif
connect(this, &CodeViewWidget::customContextMenuRequested, this, &CodeViewWidget::OnContextMenu);
connect(this, &CodeViewWidget::itemSelectionChanged, this, &CodeViewWidget::OnSelectionChanged);
connect(&Settings::Instance(), &Settings::DebugFontChanged, this,