browsercore/appfw/Api/Bookmarks/HtmlTxtParser.cpp
changeset 10 232fbd5a2dcb
parent 5 0f2326c2a325
--- a/browsercore/appfw/Api/Bookmarks/HtmlTxtParser.cpp	Tue Jul 06 14:03:49 2010 +0300
+++ b/browsercore/appfw/Api/Bookmarks/HtmlTxtParser.cpp	Wed Aug 18 09:37:05 2010 +0300
@@ -172,7 +172,7 @@
           out << "<title>" << title << "</title>\n";
       }
       else if (line.contains("</DL>", Qt::CaseInsensitive)){ // End of Folder
-          if (folderStarted == true);
+          if (folderStarted == true)
             out << "</folder>  \n";
           folderStarted = false;
       }
@@ -192,7 +192,6 @@
   bool res = file.open(QIODevice::ReadOnly | QIODevice::Text);
   QTextStream rs( &file );
   QString line, line2, url, title;
-  bool folderStarted = false;
 
   if(!res)
       return -1;