Merge pull request #994 from apa420/apa-after-x-lines

Made wording more consistent in generalpage
This commit is contained in:
pajlada 2019-04-16 14:33:01 +02:00 committed by GitHub
commit 43504114b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -201,8 +201,8 @@ void GeneralPage::initLayout(SettingsLayout &layout)
s.timestampFormat, true);
layout.addDropdown<int>(
"Collapse messages",
{"Never", "Longer than 2 lines", "Longer than 3 lines",
"Longer than 4 lines", "Longer than 5 lines"},
{"Never", "After 2 lines", "After 3 lines", "After 4 lines",
"After 5 lines"},
s.collpseMessagesMinLines,
[](auto val) {
return val ? QString("After ") + QString::number(val) + " lines"