[vlmc-devel] AbstractUndoStack: Fix indention

Yikai Lu git at videolan.org
Mon Jul 11 17:08:10 CEST 2016


vlmc | branch: master | Yikai Lu <luyikei.qmltu at gmail.com> | Mon Jul 11 23:09:16 2016 +0900| [38d058e361ed59d7c4425c9f8255eb4365482094] | committer: Yikai Lu

AbstractUndoStack: Fix indention

> https://code.videolan.org/videolan/vlmc/commit/38d058e361ed59d7c4425c9f8255eb4365482094
---

 src/Commands/AbstractUndoStack.h | 31 ++++++++++++++++---------------
 1 file changed, 16 insertions(+), 15 deletions(-)

diff --git a/src/Commands/AbstractUndoStack.h b/src/Commands/AbstractUndoStack.h
index b7fdf74..a147997 100644
--- a/src/Commands/AbstractUndoStack.h
+++ b/src/Commands/AbstractUndoStack.h
@@ -42,25 +42,26 @@ namespace Commands
     class AbstractUndoStack : public QObject
     {
         Q_OBJECT
-    public:
-        explicit AbstractUndoStack( QObject* parent = 0 );
 
-    signals:
-        void cleanChanged( bool val );
+        public:
+            explicit AbstractUndoStack( QObject* parent = 0 );
 
-    public slots:
-        void redo();
-        void undo();
-        void push( Generic* command );
-        void setClean();
+        signals:
+            void cleanChanged( bool val );
 
-    private:
-        // Avoid overloading setClean
-        void _setClean( bool val );
+        public slots:
+            void redo();
+            void undo();
+            void push( Generic* command );
+            void setClean();
 
-        bool         m_isClean;
-        QStack<Generic*>       m_stack;
-        int          m_index;
+        private:
+            // Avoid overloading setClean
+            void _setClean( bool val );
+
+            bool         m_isClean;
+            QStack<Generic*>       m_stack;
+            int          m_index;
 #endif
     };
 }



More information about the Vlmc-devel mailing list