mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	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 <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
		
							parent
							
								
									685b92b9c2
								
							
						
					
					
						commit
						5e29245e68
					
				
					 34 changed files with 45 additions and 31 deletions
				
			
		|  | @ -8,7 +8,7 @@ | |||
| #ifndef SUBSURFACE_MOBILE | ||||
| #include "cleanertablemodel.h" // for trashIcon() and editIcon()
 | ||||
| #include "desktop-widgets/mainwindow.h" // to place message box
 | ||||
| #include "desktop-widgets/command.h" | ||||
| #include "commands/command.h" | ||||
| #include <QMessageBox> | ||||
| #endif | ||||
| #include <QLineEdit> | ||||
|  |  | |||
|  | @ -7,7 +7,7 @@ | |||
| #include "core/device.h" | ||||
| #include "core/qthelper.h" | ||||
| #include "core/settings/qPrefDivePlanner.h" | ||||
| #include "desktop-widgets/command.h" | ||||
| #include "commands/command.h" | ||||
| #include "core/gettextfromc.h" | ||||
| #include "core/deco.h" | ||||
| #include <QApplication> | ||||
|  |  | |||
|  | @ -9,7 +9,7 @@ | |||
| #include "core/subsurface-string.h" | ||||
| #include "core/tag.h" | ||||
| #include "qt-models/divelocationmodel.h" // For the dive-site field ids
 | ||||
| #include "desktop-widgets/command.h" | ||||
| #include "commands/command.h" | ||||
| #include <QIcon> | ||||
| #include <QDebug> | ||||
| #include <memory> | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue