[vlmc-devel] commit: Commands: Fixing commands text ( Hugo Beauzée-Luyssen )

git at videolan.org git at videolan.org
Thu Sep 9 00:12:57 CEST 2010


vlmc | branch: master | Hugo Beauzée-Luyssen <beauze.h at gmail.com> | Wed Sep  8 22:55:03 2010 +0200| [6b60a05e5d0cd11ea52be0ecee09ae3053bfcea6] | committer: Hugo Beauzée-Luyssen 

Commands: Fixing commands text

> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=6b60a05e5d0cd11ea52be0ecee09ae3053bfcea6
---

 src/Commands/Commands.h |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/Commands/Commands.h b/src/Commands/Commands.h
index 4c6bd6c..dd1024a 100644
--- a/src/Commands/Commands.h
+++ b/src/Commands/Commands.h
@@ -50,7 +50,9 @@ namespace Commands
         public:
             virtual void    redo() = 0;
             virtual void    undo() = 0;
-            void            setText( const QString& ) {}
+#ifndef WITH_GUI
+            virtual void    setText( const QString& ) {}
+#endif
     };
 
 #ifdef WITH_GUI



More information about the Vlmc-devel mailing list