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);
|
mainMenu->addMenu(menu);
|
||||||
QAction *prefs = menu->addAction(QString());
|
QAction *prefs = menu->addAction(QString());
|
||||||
prefs->setMenuRole(QAction::PreferencesRole);
|
prefs->setMenuRole(QAction::PreferencesRole);
|
||||||
connect(prefs, &QAction::triggered, this, [] { SettingsDialog::showDialog(); });
|
connect(prefs, &QAction::triggered, this,
|
||||||
|
[] { SettingsDialog::showDialog(); });
|
||||||
}
|
}
|
||||||
|
|
||||||
#define UGLYMACROHACK1(s) #s
|
#define UGLYMACROHACK1(s) #s
|
||||||
|
|
|
@ -278,11 +278,11 @@ void GeneralPage::initLayout(SettingsLayout &layout)
|
||||||
layout.addCheckbox("Double click links to open", s.linksDoubleClickOnly);
|
layout.addCheckbox("Double click links to open", s.linksDoubleClickOnly);
|
||||||
layout.addCheckbox("Unshorten links", s.unshortLinks);
|
layout.addCheckbox("Unshorten links", s.unshortLinks);
|
||||||
layout.addCheckbox("Show live indicator in tabs", s.showTabLive);
|
layout.addCheckbox("Show live indicator in tabs", s.showTabLive);
|
||||||
layout.addDropdown<int>("Show emote preview in tooltip on hover",
|
layout.addDropdown<int>(
|
||||||
{"Don't show", "Always show", "Hold shift"},
|
"Show emote preview in tooltip on hover",
|
||||||
s.emotesTooltipPreview,
|
{"Don't show", "Always show", "Hold shift"}, s.emotesTooltipPreview,
|
||||||
[](int index) { return index; },
|
[](int index) { return index; }, [](auto args) { return args.index; },
|
||||||
[](auto args) { return args.index; }, false);
|
false);
|
||||||
|
|
||||||
layout.addSpacing(16);
|
layout.addSpacing(16);
|
||||||
layout.addSeperator();
|
layout.addSeperator();
|
||||||
|
|
|
@ -331,9 +331,9 @@ void LookPage::addBadgesTab(LayoutCreator<QVBoxLayout> layout)
|
||||||
layout.append(this->createCheckBox(
|
layout.append(this->createCheckBox(
|
||||||
("Show authority badges (staff, admin, turbo, etc)"),
|
("Show authority badges (staff, admin, turbo, etc)"),
|
||||||
getSettings()->showBadgesGlobalAuthority));
|
getSettings()->showBadgesGlobalAuthority));
|
||||||
layout.append(
|
layout.append(this->createCheckBox(
|
||||||
this->createCheckBox(("Show channel badges (broadcaster, moderator, VIP)"),
|
("Show channel badges (broadcaster, moderator, VIP)"),
|
||||||
getSettings()->showBadgesChannelAuthority));
|
getSettings()->showBadgesChannelAuthority));
|
||||||
layout.append(this->createCheckBox(("Show subscriber badges "),
|
layout.append(this->createCheckBox(("Show subscriber badges "),
|
||||||
getSettings()->showBadgesSubscription));
|
getSettings()->showBadgesSubscription));
|
||||||
layout.append(
|
layout.append(
|
||||||
|
|
Loading…
Reference in a new issue