changes to settings
This commit is contained in:
@@ -300,7 +300,7 @@ void GeneralPage::initLayout(SettingsLayout &layout)
|
|||||||
},
|
},
|
||||||
[](auto args) { return fuzzyToFloat(args.value, 1.f); });
|
[](auto args) { return fuzzyToFloat(args.value, 1.f); });
|
||||||
layout.addDropdown<int>(
|
layout.addDropdown<int>(
|
||||||
"Tab direction", {"Horizontal", "Vertical"}, s.tabDirection,
|
"Tab layout", {"Horizontal", "Vertical"}, s.tabDirection,
|
||||||
[](auto val) {
|
[](auto val) {
|
||||||
switch (val)
|
switch (val)
|
||||||
{
|
{
|
||||||
@@ -329,7 +329,6 @@ void GeneralPage::initLayout(SettingsLayout &layout)
|
|||||||
#ifdef USEWINSDK
|
#ifdef USEWINSDK
|
||||||
layout.addCheckbox("Start with Windows", s.autorun);
|
layout.addCheckbox("Start with Windows", s.autorun);
|
||||||
#endif
|
#endif
|
||||||
layout.addCheckbox("Restart on crash", s.restartOnCrash);
|
|
||||||
if (!BaseWindow::supportsCustomWindowFrame())
|
if (!BaseWindow::supportsCustomWindowFrame())
|
||||||
{
|
{
|
||||||
layout.addCheckbox("Show preferences button (Ctrl+P to show)",
|
layout.addCheckbox("Show preferences button (Ctrl+P to show)",
|
||||||
@@ -445,7 +444,7 @@ void GeneralPage::initLayout(SettingsLayout &layout)
|
|||||||
|
|
||||||
layout.addTitle("R9K");
|
layout.addTitle("R9K");
|
||||||
layout.addDescription(
|
layout.addDescription(
|
||||||
"Hide similar messages by the same user. Temporarily show hidden "
|
"Hide similar messages by the same user. Toggle hidden "
|
||||||
"messages by pressing Ctrl+H.");
|
"messages by pressing Ctrl+H.");
|
||||||
layout.addCheckbox("Hide similar messages", s.similarityEnabled);
|
layout.addCheckbox("Hide similar messages", s.similarityEnabled);
|
||||||
//layout.addCheckbox("Gray out matches", s.colorSimilarDisabled);
|
//layout.addCheckbox("Gray out matches", s.colorSimilarDisabled);
|
||||||
@@ -517,6 +516,8 @@ void GeneralPage::initLayout(SettingsLayout &layout)
|
|||||||
s.openLinksIncognito);
|
s.openLinksIncognito);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
layout.addCheckbox("Restart on crash", s.restartOnCrash);
|
||||||
|
|
||||||
#ifdef Q_OS_LINUX
|
#ifdef Q_OS_LINUX
|
||||||
if (!getPaths()->isPortable())
|
if (!getPaths()->isPortable())
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user