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
fd70a83d
Commit
fd70a83d
authored
2 years ago
by
Wuttke, Joachim
Browse files
Options
Downloads
Patches
Plain Diff
InstrumentsEditController: rm unused fct
parent
3a344915
No related branches found
No related tags found
1 merge request
!1415
minor cleanup
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
GUI/View/Instrument/InstrumentEditController.cpp
+0
-8
0 additions, 8 deletions
GUI/View/Instrument/InstrumentEditController.cpp
GUI/View/Instrument/InstrumentEditController.h
+0
-3
0 additions, 3 deletions
GUI/View/Instrument/InstrumentEditController.h
with
0 additions
and
11 deletions
GUI/View/Instrument/InstrumentEditController.cpp
+
0
−
8
View file @
fd70a83d
...
...
@@ -29,14 +29,6 @@ void InstrumentEditController::setInstrumentName(const QString& name)
m_ec
->
setInstrumentName
(
m_instrumentItem
,
name
);
}
void
InstrumentEditController
::
setDouble
(
DoubleProperty
&
d
,
double
newValue
)
{
if
(
d
.
value
()
!=
newValue
)
{
d
.
setValue
(
newValue
);
m_ec
->
instrumentChanged
(
m_instrumentItem
);
}
}
void
InstrumentEditController
::
notifyInstrumentChanged
()
{
m_ec
->
instrumentChanged
(
m_instrumentItem
);
...
...
This diff is collapsed.
Click to expand it.
GUI/View/Instrument/InstrumentEditController.h
+
0
−
3
View file @
fd70a83d
...
...
@@ -41,9 +41,6 @@ public:
//! The signal is emitted by the parent InstrumentsEditController.
void
setInstrumentName
(
const
QString
&
name
);
//! Sets the double and emits InstrumentsEditController::instrumentChanged if the double changed
void
setDouble
(
DoubleProperty
&
d
,
double
newValue
);
//! Call this if any instrument value has been changed outside this controller.
//!
//! emits InstrumentsEditController::instrumentChanged
...
...
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