From 5e29245e689fe9401ee1c33ebb07c601ce25e8c6 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Wed, 13 Nov 2019 15:08:40 +0100 Subject: Refactoring: move undo commands to top level In the future we might want to use undo-commands for mobile as well (even if not implementing undo). Therefore, move the undo-command source from desktop-widgets to their own commands top-level folder. Signed-off-by: Berthold Stoeger --- desktop-widgets/tab-widgets/TabDiveEquipment.cpp | 2 +- desktop-widgets/tab-widgets/TabDiveInformation.cpp | 2 +- desktop-widgets/tab-widgets/TabDiveSite.cpp | 2 +- desktop-widgets/tab-widgets/maintab.cpp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'desktop-widgets/tab-widgets') diff --git a/desktop-widgets/tab-widgets/TabDiveEquipment.cpp b/desktop-widgets/tab-widgets/TabDiveEquipment.cpp index 6f43fc5a2..f7e2d2667 100644 --- a/desktop-widgets/tab-widgets/TabDiveEquipment.cpp +++ b/desktop-widgets/tab-widgets/TabDiveEquipment.cpp @@ -4,7 +4,7 @@ #include "desktop-widgets/mainwindow.h" // TODO: Only used temporarilly for edit mode changes #include "desktop-widgets/simplewidgets.h" // For isGnome3Session() #include "desktop-widgets/modeldelegates.h" -#include "desktop-widgets/command.h" +#include "commands/command.h" #include "profile-widget/profilewidget2.h" #include "qt-models/cylindermodel.h" diff --git a/desktop-widgets/tab-widgets/TabDiveInformation.cpp b/desktop-widgets/tab-widgets/TabDiveInformation.cpp index d4c5ae1a6..071551584 100644 --- a/desktop-widgets/tab-widgets/TabDiveInformation.cpp +++ b/desktop-widgets/tab-widgets/TabDiveInformation.cpp @@ -4,9 +4,9 @@ #include "desktop-widgets/mainwindow.h" // TODO: Only used temporarilly for edit mode changes #include "profile-widget/profilewidget2.h" #include "../tagwidget.h" +#include "commands/command.h" #include "core/units.h" #include "core/dive.h" -#include "desktop-widgets/command.h" #include "core/qthelper.h" #include "core/statistics.h" #include "core/display.h" diff --git a/desktop-widgets/tab-widgets/TabDiveSite.cpp b/desktop-widgets/tab-widgets/TabDiveSite.cpp index e9eee0a88..d5591c152 100644 --- a/desktop-widgets/tab-widgets/TabDiveSite.cpp +++ b/desktop-widgets/tab-widgets/TabDiveSite.cpp @@ -4,7 +4,7 @@ #include "core/divesite.h" #include "qt-models/divelocationmodel.h" #include "qt-models/filtermodels.h" -#include "desktop-widgets/command.h" +#include "commands/command.h" #include diff --git a/desktop-widgets/tab-widgets/maintab.cpp b/desktop-widgets/tab-widgets/maintab.cpp index 417f9f91e..ec3957f47 100644 --- a/desktop-widgets/tab-widgets/maintab.cpp +++ b/desktop-widgets/tab-widgets/maintab.cpp @@ -24,8 +24,8 @@ #include "core/subsurface-string.h" #include "core/gettextfromc.h" #include "desktop-widgets/locationinformation.h" -#include "desktop-widgets/command.h" #include "desktop-widgets/simplewidgets.h" +#include "commands/command.h" #include "TabDiveEquipment.h" #include "TabDiveExtraInfo.h" -- cgit v1.2.3-70-g09d2