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
Plasma
DrKonqi
Commits
319da3a7
Commit
319da3a7
authored
Apr 14, 2021
by
Harald Sitter
🏳️🌈
Browse files
clang-tidy: modernize-loop-convert (manually tweaked)
parent
5aa7f95b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/bugzillaintegration/libbugzilla/autotests/bugtest.cpp
View file @
319da3a7
...
...
@@ -113,12 +113,12 @@ private Q_SLOTS:
search
.
products
=
QStringList
{
"dragonplayer"
};
auto
job
=
Bugzilla
::
BugClient
().
search
(
search
);
job
->
start
();
QList
<
Bug
::
Ptr
>
bugs
=
Bugzilla
::
BugClient
().
search
(
job
);
const
QList
<
Bug
::
Ptr
>
bugs
=
Bugzilla
::
BugClient
().
search
(
job
);
QCOMPARE
(
bugs
.
size
(),
2
);
Bug
::
Ptr
bug
;
for
(
auto
it
=
bugs
.
begin
();
it
!=
bugs
.
end
();
++
it
)
{
if
(
(
*
it
)
->
id
()
==
156514
)
{
bug
=
*
it
;
for
(
const
auto
&
b
:
bugs
)
{
if
(
b
->
id
()
==
156514
)
{
bug
=
b
;
}
}
...
...
Write
Preview
Supports
Markdown
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