From 21d1e071bf2fc2978ee77d346ab3eefa23ba6bdc Mon Sep 17 00:00:00 2001 From: Mark Liversedge Date: Fri, 28 Feb 2020 09:14:34 +0000 Subject: [PATCH] Ignore '.' folders in ChooseCyclistDialog .. mostly because this is good practice but also to avoid showing the .pyfixes folder. --- src/Gui/ChooseCyclistDialog.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Gui/ChooseCyclistDialog.cpp b/src/Gui/ChooseCyclistDialog.cpp index ce4ebad22..df6217d04 100644 --- a/src/Gui/ChooseCyclistDialog.cpp +++ b/src/Gui/ChooseCyclistDialog.cpp @@ -100,6 +100,10 @@ ChooseCyclistDialog::getList() while (i.hasNext()) { QString name = i.next(); SKIP_QTWE_CACHE // skip Folder Names created by QTWebEngine on Windows + + // ignore dot folders + if (name.startsWith(".")) continue; + QListWidgetItem *newone = new QListWidgetItem(name, listWidget); // get avatar image if it exists