Skip to content

Commit 90932cb

Browse files
committed
Remove some ancient code
1 parent 45148d5 commit 90932cb

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

Options.cpp

-8
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ static WCHAR s_szShow[] = L"Show";
3333
static WCHAR s_szToolbarIcon[] = L"ToolbarIcon";
3434
static WCHAR s_szIndent[] = L"Indent";
3535
static WCHAR s_szVersion[] = L"Version";
36-
static WCHAR s_szDBPath[] = L"DBPath";
3736
static WCHAR s_szDBFile[] = L"DBFile";
3837

3938
/////////////////////////////////////////////////////////////////////////////
@@ -80,12 +79,5 @@ void Options::Read()
8079
_toolbarIcon = GetBool(s_szOptions, s_szToolbarIcon, true);
8180
_indentSnippet = GetBool(s_szOptions, s_szIndent, true);
8281
_prevVersion = GetString(s_szOptions, s_szVersion, L"");
83-
84-
// Did the user specify a special path for the database?
8582
_DBFile = GetString(s_szOptions, s_szDBFile, L"");
86-
if (_DBFile.length() == 0)
87-
{
88-
// Try the old name of this entry
89-
_DBFile = GetString(s_szOptions, s_szDBPath, L"");
90-
}
9183
}

0 commit comments

Comments
 (0)