]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/qt_helpers.cpp
QDialogButtonBox for the remaining dialogs.
[lyx.git] / src / frontends / qt4 / qt_helpers.cpp
index d2285101195527d6b4b189fb617d7f13b1ef32a1..bc15bc7d01fa29b316f9e00fc2337625225a1881 100644 (file)
@@ -327,12 +327,12 @@ QStringList texFileList(QString const & filename)
        // Normalise paths like /foo//bar ==> /foo/bar
        QSet<QString> set;
        for (size_t i = 0; i != doclist.size(); ++i) {
-               QString file = toqstr(doclist[i]);
-               file.replace("\r", "");
-               while (file.contains("//"))
-                       file.replace("//", "/");
-               if (!file.isEmpty())
-                       set.insert(file);
+               QString qfile = toqstr(doclist[i]);
+               qfile.replace("\r", "");
+               while (qfile.contains("//"))
+                       qfile.replace("//", "/");
+               if (!qfile.isEmpty())
+                       set.insert(qfile);
        }
 
        // remove duplicates