[vlmc-devel] commit: ProjectManager: Avoid false error message. ( Hugo Beauzée-Luyssen )

git at videolan.org git at videolan.org
Thu Apr 22 21:12:24 CEST 2010


vlmc | branch: master | Hugo Beauzée-Luyssen <beauze.h at gmail.com> | Thu Apr 22 20:40:10 2010 +0200| [cba30c6d05c3890331e10432c9488b211cde912e] | committer: Hugo Beauzée-Luyssen 

ProjectManager: Avoid false error message.

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

 src/Project/ProjectManager.cpp |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/src/Project/ProjectManager.cpp b/src/Project/ProjectManager.cpp
index cb0d429..a4b963b 100644
--- a/src/Project/ProjectManager.cpp
+++ b/src/Project/ProjectManager.cpp
@@ -98,11 +98,9 @@ void    ProjectManager::loadTimeline()
 
 void    ProjectManager::loadProject( const QString& fileName )
 {
+    //Don't print an error. The user most likely canceled the open project dialog.
     if ( fileName.isEmpty() == true )
-    {
-        failedToLoad( tr( "Invalid project file name." ) );
         return ;
-    }
 
     if ( closeProject() == false )
         return ;



More information about the Vlmc-devel mailing list