changeset 4 | 90517678cc4f |
parent 1 | 2b40d63a9c3d |
--- a/qtmobility/tools/icheck/parsemanager.cpp Fri Apr 16 15:51:22 2010 +0300 +++ b/qtmobility/tools/icheck/parsemanager.cpp Mon May 03 13:18:40 2010 +0300 @@ -521,7 +521,7 @@ bool ret = true; //Create output file - if(resultfile != "" && ::m_resultFile == 0){ + if(!resultfile.isEmpty() && ::m_resultFile == 0){ ::m_resultFile = new QFile(resultfile); if (!::m_resultFile->open(QFile::WriteOnly | QFile::Truncate)) { delete ::m_resultFile;