From 02e2ae2b77585b4f2726d9528ceea9ce4d99b453 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 31 Dec 2014 21:35:07 +0000 Subject: 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 --- src/modules/database/profilemanager.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/modules/database/profilemanager.cpp') 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; -- cgit v1.2.3