Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
Akregator
Commits
876994b2
Commit
876994b2
authored
Nov 06, 2020
by
Laurent Montel
😁
Browse files
Fix compile on windows
parent
4f836c4a
Pipeline
#39800
canceled with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/notificationmanager.cpp
View file @
876994b2
...
...
@@ -71,7 +71,7 @@ void NotificationManager::doNotify()
const
int
maxNewArticlesShown
=
2
;
// adding information about how many new articles
auto
feedClosure
=
[
&
entriesCount
,
&
message
]()
{
auto
feedClosure
=
[
&
entriesCount
,
&
message
,
maxNewArticlesShown
]()
{
if
((
entriesCount
-
maxNewArticlesShown
)
>
1
)
{
message
+=
i18np
(
"<i>and 1 other</i>"
,
"<i>and %1 others</i>"
,
entriesCount
-
maxNewArticlesShown
-
1
)
+
QLatin1String
(
"<br>"
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment