From 79b0b82931998c5f777e5c4c172dc33f52be6326 Mon Sep 17 00:00:00 2001 From: Jean-Christophe Fillion-Robin Date: Thu, 13 Apr 2023 22:49:57 -0400 Subject: [PATCH] BUG: Ensure ctk::copyDirRecursively skips hidden file by default This commit fixes ctkUtilsCopyDirRecursivelyTest1 --- Libs/Core/ctkUtils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libs/Core/ctkUtils.cpp b/Libs/Core/ctkUtils.cpp index 776893398b..feb9d5d67c 100644 --- a/Libs/Core/ctkUtils.cpp +++ b/Libs/Core/ctkUtils.cpp @@ -382,7 +382,7 @@ bool ctk::copyDirRecursively(const QString &srcPath, const QString &dstPath, boo return false; } - QDir::Filter hiddenFilter; + QDir::Filter hiddenFilter = QDir::Filter(); if(includeHiddenFiles) { hiddenFilter = QDir::Hidden;