[vlmc-devel] Fix various warnings

Hugo Beauzée-Luyssen git at videolan.org
Fri Jan 24 19:37:03 CET 2014


vlmc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Fri Jan 24 19:13:14 2014 +0200| [a243f81fdde6e33de85fadb760c651e21e96afdf] | committer: Hugo Beauzée-Luyssen

Fix various warnings

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

 src/Gui/project/GuiProjectManager.cpp   |    2 +-
 src/Gui/timeline/AbstractGraphicsItem.h |    2 +-
 src/Gui/timeline/GraphicsEffectItem.h   |    2 +-
 src/Project/ProjectManager.cpp          |    2 +-
 src/Project/ProjectManager.h            |    2 +-
 src/Renderer/ClipRenderer.h             |    2 +-
 src/Renderer/GenericRenderer.h          |    2 +-
 src/Renderer/WorkflowRenderer.h         |    2 +-
 8 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/Gui/project/GuiProjectManager.cpp b/src/Gui/project/GuiProjectManager.cpp
index cc216e0..8a1d7a9 100644
--- a/src/Gui/project/GuiProjectManager.cpp
+++ b/src/Gui/project/GuiProjectManager.cpp
@@ -161,7 +161,7 @@ GUIProjectManager::saveProject( bool saveAs /* = false */ )
     //save the project with a new name
     if ( createNewProjectFile( saveAs ) == false )
         return ;
-    ProjectManager::saveProject( outputFileName() );
+    ProjectManager::saveAs( outputFileName() );
 }
 
 bool
diff --git a/src/Gui/timeline/AbstractGraphicsItem.h b/src/Gui/timeline/AbstractGraphicsItem.h
index 2fb098a..1c29162 100644
--- a/src/Gui/timeline/AbstractGraphicsItem.h
+++ b/src/Gui/timeline/AbstractGraphicsItem.h
@@ -31,7 +31,7 @@ class   TracksScene;
 class   TracksView;
 class   EffectUser;
 
-class   QUuid;
+struct  QUuid;
 
 namespace Workflow
 {
diff --git a/src/Gui/timeline/GraphicsEffectItem.h b/src/Gui/timeline/GraphicsEffectItem.h
index 0f7359f..582bcf9 100644
--- a/src/Gui/timeline/GraphicsEffectItem.h
+++ b/src/Gui/timeline/GraphicsEffectItem.h
@@ -29,7 +29,7 @@
 class   EffectUser;
 class   AbstractGraphicsMediaItem;
 
-class   QUuid;
+struct  QUuid;
 
 class GraphicsEffectItem : public AbstractGraphicsItem
 {
diff --git a/src/Project/ProjectManager.cpp b/src/Project/ProjectManager.cpp
index fee907e..6256a65 100644
--- a/src/Project/ProjectManager.cpp
+++ b/src/Project/ProjectManager.cpp
@@ -277,7 +277,7 @@ ProjectManager::closeProject()
 }
 
 void
-ProjectManager::saveProject( const QString &outputFileName )
+ProjectManager::saveAs( const QString &outputFileName )
 {
     __saveProject( outputFileName );
     emit projectSaved();
diff --git a/src/Project/ProjectManager.h b/src/Project/ProjectManager.h
index 921e221..58ecf1d 100644
--- a/src/Project/ProjectManager.h
+++ b/src/Project/ProjectManager.h
@@ -51,7 +51,7 @@ public:
     void            removeProject( const QString& fileName );
     QStringList     recentsProjects() const;
     virtual bool    closeProject();
-    virtual void    saveProject( const QString &outputFileName );
+    virtual void    saveAs( const QString &outputFileName );
     bool            loadEmergencyBackup();
     void            emergencyBackup();
 
diff --git a/src/Renderer/ClipRenderer.h b/src/Renderer/ClipRenderer.h
index 1d29a62..311f967 100644
--- a/src/Renderer/ClipRenderer.h
+++ b/src/Renderer/ClipRenderer.h
@@ -29,7 +29,7 @@
 
 class   Clip;
 class   Media;
-class   QUuid;
+struct  QUuid;
 
 namespace LibVLCpp
 {
diff --git a/src/Renderer/GenericRenderer.h b/src/Renderer/GenericRenderer.h
index 052f89e..6e918fb 100644
--- a/src/Renderer/GenericRenderer.h
+++ b/src/Renderer/GenericRenderer.h
@@ -35,7 +35,7 @@
 
 class   Clip;
 class   Media;
-class   QUuid;
+struct  QUuid;
 namespace LibVLCpp
 {
     class   MediaPlayer;
diff --git a/src/Renderer/WorkflowRenderer.h b/src/Renderer/WorkflowRenderer.h
index c1875f7..c4e150a 100644
--- a/src/Renderer/WorkflowRenderer.h
+++ b/src/Renderer/WorkflowRenderer.h
@@ -33,7 +33,7 @@ class   Clip;
 class   QWidget;
 class   QWaitCondition;
 class   QMutex;
-class   QUuid;
+struct  QUuid;
 
 namespace LibVLCpp
 {



More information about the Vlmc-devel mailing list