chore: refactor settings

This commit is contained in:
AlexeyZavar
2025-05-05 20:36:16 +03:00
parent 4870d59a43
commit 409165dec6
65 changed files with 647 additions and 651 deletions
@@ -474,9 +474,9 @@ void TabbedPanel::showStarted() {
}
bool TabbedPanel::eventFilter(QObject *obj, QEvent *e) {
const auto settings = &AyuSettings::getInstance();
const auto& settings = AyuSettings::getInstance();
if (TabbedPanelShowOnClick.value() || !settings->showEmojiPopup) {
if (TabbedPanelShowOnClick.value() || !settings.showEmojiPopup) {
return false;
} else if (e->type() == QEvent::Enter) {
otherEnter();