formatting

This commit is contained in:
Lily 2025-03-13 12:25:05 -04:00
parent 5d8625761c
commit 5742cf5c15
No known key found for this signature in database
GPG key ID: D916CEDDF4F93CE7
4 changed files with 9 additions and 13 deletions

View file

@ -1101,8 +1101,7 @@ MessagesSettingsPage::MessagesSettingsPage()
&SettingsCache::setShowMessagePopups);
localTimeCheckBox.setChecked(SettingsCache::instance().getLocalTime());
connect(&localTimeCheckBox, &QCheckBox::QT_STATE_CHANGED, &SettingsCache::instance(),
&SettingsCache::setLocalTime);
connect(&localTimeCheckBox, &QCheckBox::QT_STATE_CHANGED, &SettingsCache::instance(), &SettingsCache::setLocalTime);
mentionPopups.setChecked(SettingsCache::instance().getShowMentionPopup());
connect(&mentionPopups, &QCheckBox::QT_STATE_CHANGED, &SettingsCache::instance(),
@ -1116,9 +1115,6 @@ MessagesSettingsPage::MessagesSettingsPage()
connect(customAlertString, SIGNAL(textChanged(QString)), &SettingsCache::instance(),
SLOT(setHighlightWords(QString)));
auto *chatGrid = new QGridLayout;
chatGrid->addWidget(&chatMentionCheckBox, 0, 0);
chatGrid->addWidget(&invertMentionForeground, 0, 1);

View file

@ -253,7 +253,7 @@ private:
QLabel hexHighlightLabel;
QLabel customAlertStringLabel;
QLabel explainMessagesLabel;
void storeSettings();
void updateMentionPreview();
void updateHighlightPreview();