100 fileExt = self.fileExtEdit.text() |
100 fileExt = self.fileExtEdit.text() |
101 if not fileExt and Utilities.isWindowsPlatform(): |
101 if not fileExt and Utilities.isWindowsPlatform(): |
102 self.fileList.clear() |
102 self.fileList.clear() |
103 return |
103 return |
104 |
104 |
105 patternFormat = fileExt and "{0}{1}{2}*" or "{0}*{1}{2}" |
105 patternFormat = fileExt and "{0}{1}{2}" or "{0}*{1}{2}" |
106 fileNamePattern = patternFormat.format(fileName, os.extsep, |
106 fileNamePattern = patternFormat.format(fileName, os.extsep, |
107 fileExt and fileExt or '*') |
107 fileExt and fileExt or '*') |
108 |
108 |
109 searchPaths = [] |
109 searchPaths = [] |
110 if self.searchDirCheckBox.isChecked() and \ |
110 if self.searchDirCheckBox.isChecked() and \ |