mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
chore: refactor settings
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user