summaryrefslogtreecommitdiff
path: root/src/modules/database/profilemanager.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-12-31 21:35:07 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-12-31 21:35:07 +0000
commit02e2ae2b77585b4f2726d9528ceea9ce4d99b453 (patch)
tree0b79b5c76b85d285081deb93688cf9b6d602e553 /src/modules/database/profilemanager.cpp
parent5129d51c859daf669ef01099a563621f85037405 (diff)
ability to run converter from old profile versions without launching Profile Manager, if the old profile is the only profile present
git-svn-id: http://svn.miranda-ng.org/main/trunk@11703 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/database/profilemanager.cpp')
-rw-r--r--src/modules/database/profilemanager.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/modules/database/profilemanager.cpp b/src/modules/database/profilemanager.cpp
index b15f1a74e4..24fcf8650e 100644
--- a/src/modules/database/profilemanager.cpp
+++ b/src/modules/database/profilemanager.cpp
@@ -293,14 +293,12 @@ BOOL EnumProfilesForList(TCHAR *tszFullPath, TCHAR *profile, LPARAM lParam)
}
DATABASELINK *dblink;
- bool bNeedConversion = false;
switch (touchDatabase(tszFullPath, &dblink)) {
case ERROR_SUCCESS:
item.iImage = bFileLocked;
break;
case EGROKPRF_OBSOLETE:
- bNeedConversion = true;
item.iImage = 2;
break;