mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
remove obsolete variable folderSubtitleString in DirectoryInfoSeach
This commit is contained in:
parent
c93f4a09ea
commit
af00ec5879
1 changed files with 1 additions and 7 deletions
|
|
@ -60,11 +60,8 @@ namespace Flow.Launcher.Plugin.Explorer.Search.DirectoryInfo
|
|||
var folderList = new List<Result>();
|
||||
var fileList = new List<Result>();
|
||||
|
||||
var folderSubtitleString = Constants.DefaultFolderSubtitleString;
|
||||
|
||||
try
|
||||
{
|
||||
// search folder and add results
|
||||
var directoryInfo = new System.IO.DirectoryInfo(search);
|
||||
var fileSystemInfos = directoryInfo.GetFileSystemInfos(incompleteName, searchOption);
|
||||
|
||||
|
|
@ -74,10 +71,7 @@ namespace Flow.Launcher.Plugin.Explorer.Search.DirectoryInfo
|
|||
|
||||
if (fileSystemInfo is System.IO.DirectoryInfo)
|
||||
{
|
||||
if (searchOption == SearchOption.AllDirectories)
|
||||
folderSubtitleString = fileSystemInfo.FullName;
|
||||
|
||||
folderList.Add(ResultManager.CreateFolderResult(fileSystemInfo.Name, folderSubtitleString, fileSystemInfo.FullName, query));
|
||||
folderList.Add(ResultManager.CreateFolderResult(fileSystemInfo.Name, fileSystemInfo.FullName, fileSystemInfo.FullName, query));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue