[vlmc-devel] [PATCH 08/12] Commands::trigger Always take "Generic*"
Yikai Lu
luyikei.qmltu at gmail.com
Sun May 22 08:36:52 CEST 2016
---
src/Commands/Commands.cpp | 2 +-
src/Commands/Commands.h | 4 ----
2 files changed, 1 insertion(+), 5 deletions(-)
diff --git a/src/Commands/Commands.cpp b/src/Commands/Commands.cpp
index 72902a2..94f3667 100644
--- a/src/Commands/Commands.cpp
+++ b/src/Commands/Commands.cpp
@@ -33,7 +33,7 @@
#include "Workflow/TrackWorkflow.h"
void
-Commands::trigger( QUndoCommand* command )
+Commands::trigger( Generic* command )
{
Core::instance()->undoStack()->push( command );
}
diff --git a/src/Commands/Commands.h b/src/Commands/Commands.h
index 9b0e9e8..4077a8d 100644
--- a/src/Commands/Commands.h
+++ b/src/Commands/Commands.h
@@ -68,11 +68,7 @@ namespace Commands
void invalidated();
};
-#ifdef WITH_GUI
- void trigger( QUndoCommand* command );
-#else
void trigger( Generic* command );
-#endif
namespace Clip
{
--
1.9.1
More information about the Vlmc-devel
mailing list