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:
authorOliver Schneider <oliver@assarbad.net>2017-11-20 23:43:25 +0300
committerOliver Schneider <oliver@assarbad.net>2017-11-20 23:43:25 +0300
commit916f7162919565c9dfce0fc8e90f8cb7ab283c6d (patch)
treea15d19383da005136d8f0cef9ab67e70875f8f91 /windirstat
parentc7f9ce9698fd0ff23da40b5d823616d918f0ad63 (diff)
Minor cleanup
And another fix to premake4.lua and subsequently the one affected project
Diffstat (limited to 'windirstat')
-rw-r--r--windirstat/Dialogs/aboutdlg.cpp5
-rw-r--r--windirstat/globalhelpers.cpp19
-rw-r--r--windirstat/windirstat.vs15.vcxproj8
3 files changed, 4 insertions, 28 deletions
diff --git a/windirstat/Dialogs/aboutdlg.cpp b/windirstat/Dialogs/aboutdlg.cpp
index 5ed8296..14c9d63 100644
--- a/windirstat/Dialogs/aboutdlg.cpp
+++ b/windirstat/Dialogs/aboutdlg.cpp
@@ -21,7 +21,6 @@
#include "stdafx.h"
#include "windirstat.h"
-#include <common/version.h>
#include <common/wds_constants.h>
#include "aboutdlg.h"
@@ -133,8 +132,6 @@ void CAboutDlg::CMyTabControl::Initialize()
void CAboutDlg::CMyTabControl::SetPageText(int tab)
{
- USES_CONVERSION;
-
CString text;
DWORD newStyle = ES_CENTER;
@@ -262,8 +259,6 @@ CAboutDlg::CAboutDlg()
CString CAboutDlg::GetAppVersion()
{
- USES_CONVERSION;
-
CString s;
s.Format(_T("WinDirStat %s"), _T("1.x.y.z")); // FIXME
return s;
diff --git a/windirstat/globalhelpers.cpp b/windirstat/globalhelpers.cpp
index 4481b7c..dced820 100644
--- a/windirstat/globalhelpers.cpp
+++ b/windirstat/globalhelpers.cpp
@@ -661,22 +661,3 @@ BOOL IsAdmin()
return FALSE;
}
-
-/*
-// Retrieve an Item ID list from a given path.
-// Returns a valid pidl, or throws an exception.
-LPCITEMIDLIST SHGetPIDLFromPath(CString path)
-{
- USES_CONVERSION;
-
- CComPtr<IShellFolder> pshf;
- HRESULT hr = ::SHGetDesktopFolder(&pshf);
- MdThrowFailed(hr, _T("::SHGetDesktopFolder"));
-
- LPITEMIDLIST pidl;
- hr = pshf->ParseDisplayName(NULL, NULL, const_cast<LPOLESTR>(T2CW(path)), NULL, &pidl, NULL);
- MdThrowFailed(hr, _T("ParseDisplayName"));
-
- return pidl;
-}
-*/
diff --git a/windirstat/windirstat.vs15.vcxproj b/windirstat/windirstat.vs15.vcxproj
index 55a67fb..11f6ceb 100644
--- a/windirstat/windirstat.vs15.vcxproj
+++ b/windirstat/windirstat.vs15.vcxproj
@@ -119,7 +119,7 @@
</ResourceCompile>
<Link>
<SubSystem>Windows</SubSystem>
- <GenerateDebugInformation>true</GenerateDebugInformation>
+ <GenerateDebugInformation>DebugFull</GenerateDebugInformation>
<FullProgramDatabaseFile>true</FullProgramDatabaseFile>
<AdditionalDependencies>psapi.lib;delayimp.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>$(OutDir)wds32D.exe</OutputFile>
@@ -153,7 +153,7 @@
</ResourceCompile>
<Link>
<SubSystem>Windows</SubSystem>
- <GenerateDebugInformation>true</GenerateDebugInformation>
+ <GenerateDebugInformation>DebugFull</GenerateDebugInformation>
<FullProgramDatabaseFile>true</FullProgramDatabaseFile>
<AdditionalDependencies>psapi.lib;delayimp.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>$(OutDir)wds64D.exe</OutputFile>
@@ -187,7 +187,7 @@
</ResourceCompile>
<Link>
<SubSystem>Windows</SubSystem>
- <GenerateDebugInformation>true</GenerateDebugInformation>
+ <GenerateDebugInformation>DebugFull</GenerateDebugInformation>
<FullProgramDatabaseFile>true</FullProgramDatabaseFile>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
@@ -223,7 +223,7 @@
</ResourceCompile>
<Link>
<SubSystem>Windows</SubSystem>
- <GenerateDebugInformation>true</GenerateDebugInformation>
+ <GenerateDebugInformation>DebugFull</GenerateDebugInformation>
<FullProgramDatabaseFile>true</FullProgramDatabaseFile>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>