mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-16 07:22:16 -07:00
formatting
This commit is contained in:
parent
5d8625761c
commit
5742cf5c15
4 changed files with 9 additions and 13 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -253,7 +253,7 @@ private:
|
|||
QLabel hexHighlightLabel;
|
||||
QLabel customAlertStringLabel;
|
||||
QLabel explainMessagesLabel;
|
||||
|
||||
|
||||
void storeSettings();
|
||||
void updateMentionPreview();
|
||||
void updateHighlightPreview();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue