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
mlz
BornAgain
Commits
89b869aa
Commit
89b869aa
authored
Jun 14, 2022
by
Mikhail Svechnikov
Browse files
1D fix
parent
f427c747
Pipeline
#67151
passed with stage
in 7 minutes and 27 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
GUI/Model/BaseItem/SessionItem.h
View file @
89b869aa
...
...
@@ -201,7 +201,6 @@ class GroupInfo;
//!
//! This code part again shows the (highly error-prone) string-based type checking.
//#define USE_MAPPERS
#include
<QDebug>
class
BA_CORE_API_
SessionItem
{
friend
class
SessionModel
;
...
...
GUI/View/PlotComparison/FitComparisonViewController.cpp
View file @
89b869aa
...
...
@@ -50,11 +50,8 @@ void FitComparison1DViewController::setItem(JobItem* job_item)
ASSERT
(
job_item
);
clear
();
qInfo
()
<<
"1::setItem"
;
m_diff_item_controller
->
setItems
(
job_item
);
qInfo
()
<<
"2::setItem"
;
createDiffViewItem
(
job_item
);
qInfo
()
<<
"3::setItem"
;
auto
*
job_data_view
=
job_item
->
dataItemView
();
...
...
@@ -95,13 +92,9 @@ void FitComparison1DViewController::clear()
void
FitComparison1DViewController
::
createDiffViewItem
(
JobItem
*
job_item
)
{
qInfo
()
<<
"createDiffViewItem 1"
;
m_diff_view_item
=
m_diff_item_controller
->
model
()
->
insertItem
<
Data1DViewItem
>
();
qInfo
()
<<
"createDiffViewItem 2"
;
auto
*
container
=
m_diff_view_item
->
createPropertyContainerItem
();
qInfo
()
<<
"createDiffViewItem 3"
;
container
->
addItem
(
m_diff_item_controller
->
diffItem
());
qInfo
()
<<
"createDiffViewItem 4"
;
m_diff_view_item
->
setJobItem
(
job_item
);
auto
*
job_data_view
=
job_item
->
dataItemView
();
...
...
@@ -131,7 +124,6 @@ DiffItemController::~DiffItemController()
void
DiffItemController
::
setItems
(
JobItem
*
job_item
)
{
qInfo
()
<<
"DiffItemController::setItems"
;
ASSERT
(
job_item
);
ASSERT
(
job_item
->
diffDataItem
());
...
...
@@ -182,7 +174,6 @@ void DiffItemController::subscribe()
void
DiffItemController
::
unsubscribe
()
{
qInfo
()
<<
"DiffItemController::unsubscribe"
<<
m_current_item
<<
m_diff_item
<<
endl
;
#ifdef USE_MAPPERS
m_diff_item
->
mapper
()
->
unsubscribe
(
this
);
#else
...
...
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