Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/windirstat.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'windirstat/item.cpp')
-rw-r--r--windirstat/item.cpp19
1 files changed, 2 insertions, 17 deletions
diff --git a/windirstat/item.cpp b/windirstat/item.cpp
index 6c57446..0175e07 100644
--- a/windirstat/item.cpp
+++ b/windirstat/item.cpp
@@ -2,7 +2,7 @@
//
// WinDirStat - Directory Statistics
// Copyright (C) 2003-2005 Bernhard Seifert
-// Copyright (C) 2004-2017 WinDirStat Team (windirstat.net)
+// Copyright (C) 2004-2019 WinDirStat Team (windirstat.net)
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
@@ -1109,28 +1109,13 @@ void CItem::DoSomeWork(CWorkLimiter* limiter)
}
}
-// CItem *filesFolder = 0;
-// if(dirCount > 0 && fileCount > 1)
-// {
-// filesFolder = new CItem(IT_FILESFOLDER, LoadString(IDS_FILES_ITEM));
-// filesFolder->SetReadJobDone();
-// AddChild(filesFolder);
-// }
-// if(fileCount > 0)
-// {
-// filesFolder = this;
-// }
-
for(POSITION pos = files.GetHeadPosition(); pos != NULL; files.GetNext(pos))
{
const FILEINFO& fi = files.GetAt(pos);
this->AddFile(fi);
}
-// if(filesFolder != NULL)
-// {
- this->UpwardAddFiles(fileCount);
-// }
+ this->UpwardAddFiles(fileCount);
UpwardAddSubdirs(dirCount);
SetReadJobDone();