Ignore '.' folders in ChooseCyclistDialog

.. mostly because this is good practice but also to avoid showing
   the .pyfixes folder.
This commit is contained in:
Mark Liversedge
2020-02-28 09:14:34 +00:00
parent f4d954c3ee
commit 21d1e071bf

View File

@@ -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