mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
cleanup: remove Command::inCommand()
This was used by the divelist to check wether a selection change is programmatical or user-initiated. However, since there is only one entry point for programmatical selection changes, this is not needed anymore. Remove it - this removes an inter-module dependency. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
2ad3696230
commit
f43b3f56b2
2 changed files with 0 additions and 58 deletions
|
@ -381,7 +381,6 @@ void DiveListBase::finishWork()
|
|||
|
||||
void DiveListBase::undo()
|
||||
{
|
||||
auto marker = diveListNotifier.enterCommand();
|
||||
initWork();
|
||||
undoit();
|
||||
finishWork();
|
||||
|
@ -389,7 +388,6 @@ void DiveListBase::undo()
|
|||
|
||||
void DiveListBase::redo()
|
||||
{
|
||||
auto marker = diveListNotifier.enterCommand();
|
||||
initWork();
|
||||
redoit();
|
||||
finishWork();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue