mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
Reformat
This commit is contained in:
parent
954b1b138a
commit
3679125e2f
|
@ -350,7 +350,8 @@ void Window::addMenuBar()
|
|||
mainMenu->addMenu(menu);
|
||||
QAction *prefs = menu->addAction(QString());
|
||||
prefs->setMenuRole(QAction::PreferencesRole);
|
||||
connect(prefs, &QAction::triggered, this, [] { SettingsDialog::showDialog(); });
|
||||
connect(prefs, &QAction::triggered, this,
|
||||
[] { SettingsDialog::showDialog(); });
|
||||
}
|
||||
|
||||
#define UGLYMACROHACK1(s) #s
|
||||
|
|
|
@ -278,11 +278,11 @@ void GeneralPage::initLayout(SettingsLayout &layout)
|
|||
layout.addCheckbox("Double click links to open", s.linksDoubleClickOnly);
|
||||
layout.addCheckbox("Unshorten links", s.unshortLinks);
|
||||
layout.addCheckbox("Show live indicator in tabs", s.showTabLive);
|
||||
layout.addDropdown<int>("Show emote preview in tooltip on hover",
|
||||
{"Don't show", "Always show", "Hold shift"},
|
||||
s.emotesTooltipPreview,
|
||||
[](int index) { return index; },
|
||||
[](auto args) { return args.index; }, false);
|
||||
layout.addDropdown<int>(
|
||||
"Show emote preview in tooltip on hover",
|
||||
{"Don't show", "Always show", "Hold shift"}, s.emotesTooltipPreview,
|
||||
[](int index) { return index; }, [](auto args) { return args.index; },
|
||||
false);
|
||||
|
||||
layout.addSpacing(16);
|
||||
layout.addSeperator();
|
||||
|
|
|
@ -331,8 +331,8 @@ void LookPage::addBadgesTab(LayoutCreator<QVBoxLayout> layout)
|
|||
layout.append(this->createCheckBox(
|
||||
("Show authority badges (staff, admin, turbo, etc)"),
|
||||
getSettings()->showBadgesGlobalAuthority));
|
||||
layout.append(
|
||||
this->createCheckBox(("Show channel badges (broadcaster, moderator, VIP)"),
|
||||
layout.append(this->createCheckBox(
|
||||
("Show channel badges (broadcaster, moderator, VIP)"),
|
||||
getSettings()->showBadgesChannelAuthority));
|
||||
layout.append(this->createCheckBox(("Show subscriber badges "),
|
||||
getSettings()->showBadgesSubscription));
|
||||
|
|
Loading…
Reference in a new issue