diff options
-rw-r--r-- | tests/auto/qfiledialog/tst_qfiledialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qfiledialog/tst_qfiledialog.cpp b/tests/auto/qfiledialog/tst_qfiledialog.cpp index 8342b5f..8e69b3c 100644 --- a/tests/auto/qfiledialog/tst_qfiledialog.cpp +++ b/tests/auto/qfiledialog/tst_qfiledialog.cpp @@ -430,7 +430,7 @@ void tst_QFiledialog::completer_data() QStringList list = root.entryList(); QString folder; for (int i = 0; i < list.count(); ++i) { - if (list.at(0) == QChar('.')) + if (list[i].at(0) == QChar('.')) continue; QFileInfo info(QDir::rootPath() + list[i]); if (info.isDir()) { |