[vlmc-devel] MainWorkflow: Make trigger public

Yikai Lu git at videolan.org
Sat Jul 8 17:16:07 CEST 2017


vlmc | branch: master | Yikai Lu <luyikei.qmltu at gmail.com> | Fri Jul  7 19:01:05 2017 +0900| [59f726c4008cbbc804c5b074d9ff8173fce14521] | committer: Yikai Lu

MainWorkflow: Make trigger public

Since its undostack is already exposed, there is no need it to be private.

> https://code.videolan.org/videolan/vlmc/commit/59f726c4008cbbc804c5b074d9ff8173fce14521
---

 src/Workflow/MainWorkflow.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/Workflow/MainWorkflow.h b/src/Workflow/MainWorkflow.h
index 2adea529..d0f555d1 100644
--- a/src/Workflow/MainWorkflow.h
+++ b/src/Workflow/MainWorkflow.h
@@ -156,14 +156,14 @@ class   MainWorkflow : public QObject
 
         bool                    canRender();
 
+        void                    trigger( Commands::Generic* command );
+
         AbstractRenderer*       renderer();
 
         Commands::AbstractUndoStack*       undoStack();
 
     private:
 
-        void                    trigger( Commands::Generic* command );
-
         void                    preSave();
         void                    postLoad();
 



More information about the Vlmc-devel mailing list