Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
BornAgain
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mlz
BornAgain
Commits
a8dbc984
Commit
a8dbc984
authored
1 year ago
by
Wuttke, Joachim
Browse files
Options
Downloads
Patches
Plain Diff
.
parent
fdd6aafe
No related branches found
No related tags found
1 merge request
!2361
cleanup
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
GUI/Model/Device/InstrumentsSet.cpp
+0
-3
0 additions, 3 deletions
GUI/Model/Device/InstrumentsSet.cpp
with
0 additions
and
3 deletions
GUI/Model/Device/InstrumentsSet.cpp
+
0
−
3
View file @
a8dbc984
...
@@ -125,7 +125,6 @@ InstrumentsSet::instrumentItems(const std::function<bool(const InstrumentItem*)>
...
@@ -125,7 +125,6 @@ InstrumentsSet::instrumentItems(const std::function<bool(const InstrumentItem*)>
for
(
auto
*
p
:
instrumentItems
())
for
(
auto
*
p
:
instrumentItems
())
if
(
accept
(
p
))
if
(
accept
(
p
))
result
<<
p
;
result
<<
p
;
return
result
;
return
result
;
}
}
...
@@ -135,7 +134,6 @@ QVector<InstrumentItem*> InstrumentsSet::instrument2DItems() const
...
@@ -135,7 +134,6 @@ QVector<InstrumentItem*> InstrumentsSet::instrument2DItems() const
for
(
auto
*
p
:
instrumentItems
())
for
(
auto
*
p
:
instrumentItems
())
if
(
auto
*
p2D
=
dynamic_cast
<
InstrumentItem
*>
(
p
))
if
(
auto
*
p2D
=
dynamic_cast
<
InstrumentItem
*>
(
p
))
result
<<
p2D
;
result
<<
p2D
;
return
result
;
return
result
;
}
}
...
@@ -144,7 +142,6 @@ InstrumentItem* InstrumentsSet::findInstrumentItemById(const QString& instrument
...
@@ -144,7 +142,6 @@ InstrumentItem* InstrumentsSet::findInstrumentItemById(const QString& instrument
for
(
auto
*
instrument
:
instrumentItems
())
for
(
auto
*
instrument
:
instrumentItems
())
if
(
instrument
->
id
()
==
instrumentId
)
if
(
instrument
->
id
()
==
instrumentId
)
return
instrument
;
return
instrument
;
return
nullptr
;
return
nullptr
;
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment