Refs #10222 Refactor IReflPresenter's notify method
We no longer pass flags separately. By passing them one at a time directly with notify we bypass a potential race condition and vastly simplify unit testing logic.
Showing
- Code/Mantid/MantidQt/CustomInterfaces/inc/MantidQtCustomInterfaces/IReflPresenter.h 2 additions, 2 deletions...mInterfaces/inc/MantidQtCustomInterfaces/IReflPresenter.h
- Code/Mantid/MantidQt/CustomInterfaces/inc/MantidQtCustomInterfaces/QtReflMainView.h 2 additions, 8 deletions...mInterfaces/inc/MantidQtCustomInterfaces/QtReflMainView.h
- Code/Mantid/MantidQt/CustomInterfaces/inc/MantidQtCustomInterfaces/ReflMainView.h 9 additions, 14 deletions...tomInterfaces/inc/MantidQtCustomInterfaces/ReflMainView.h
- Code/Mantid/MantidQt/CustomInterfaces/inc/MantidQtCustomInterfaces/ReflMainViewPresenter.h 1 addition, 1 deletion...aces/inc/MantidQtCustomInterfaces/ReflMainViewPresenter.h
- Code/Mantid/MantidQt/CustomInterfaces/inc/MantidQtCustomInterfaces/ReflNullMainViewPresenter.h 2 additions, 2 deletions.../inc/MantidQtCustomInterfaces/ReflNullMainViewPresenter.h
- Code/Mantid/MantidQt/CustomInterfaces/src/QtReflMainView.cpp 6 additions, 32 deletionsCode/Mantid/MantidQt/CustomInterfaces/src/QtReflMainView.cpp
- Code/Mantid/MantidQt/CustomInterfaces/src/ReflMainViewPresenter.cpp 9 additions, 14 deletions...d/MantidQt/CustomInterfaces/src/ReflMainViewPresenter.cpp
- Code/Mantid/MantidQt/CustomInterfaces/src/ReflNullMainViewPresenter.cpp 3 additions, 2 deletions...ntidQt/CustomInterfaces/src/ReflNullMainViewPresenter.cpp
Please register or sign in to comment