]> git.sesse.net Git - kdenlive/commitdiff
delete useless variable assignment
authorAlberto Villa <avilla@FreeBSD.org>
Sat, 9 May 2009 14:52:49 +0000 (14:52 +0000)
committerAlberto Villa <avilla@FreeBSD.org>
Sat, 9 May 2009 14:52:49 +0000 (14:52 +0000)
svn path=/trunk/kdenlive/; revision=3369

src/kdenlivedoc.cpp

index f10e6caa0636fa27ae7956f1ea36228c476018be..57b7ae94a81690c1b3c8d39dfe44afaed6d5f293 100644 (file)
@@ -78,7 +78,6 @@ KdenliveDoc::KdenliveDoc(const KUrl &url, const KUrl &projectFolder, QUndoGroup
 
         if (success) {
             QDomNode infoXmlNode = m_document.elementsByTagName("kdenlivedoc").at(0);
-            QDomNode westley = m_document.elementsByTagName("westley").at(0);
             if (!infoXmlNode.isNull()) {
                 QDomElement infoXml = infoXmlNode.toElement();
                 double version = infoXml.attribute("version").toDouble();
@@ -90,14 +89,14 @@ KdenliveDoc::KdenliveDoc(const KUrl &url, const KUrl &projectFolder, QUndoGroup
                     setProfilePath(profileName);
                 } else {
                     /*
-                     * read again <kdenlivedoc> and <westley> to get all the new
-                     * stuff (convertDocument() can now do anything without breaking
+                     * read again <kdenlivedoc> to get all the new stuff
+                     * (convertDocument() can now do anything without breaking
                      * document loading)
                      */
                     infoXmlNode = m_document.elementsByTagName("kdenlivedoc").at(0);
                     infoXml = infoXmlNode.toElement();
                     version = infoXml.attribute("version").toDouble();
-                    westley = m_document.elementsByTagName("westley").at(0);
+                    QDomNode westley = m_document.elementsByTagName("westley").at(0);
 
                     QString profilePath = infoXml.attribute("profile");
                     QString projectFolderPath = infoXml.attribute("projectfolder");