X-Git-Url: http://Server1/repobrowser/?p=xestiaab%2F.git;a=blobdiff_plain;f=source%2FfrmMain.cpp;h=a41a6295a2b8691efdfe9338864d8276ad6d2a39;hp=fcb99525e9a212ff3a0a3fd7661fdc4a932cda73;hb=7bab37a4219b657a5adc432e039075fc61345c61;hpb=55ebcf590d3bf7f4bd27c7978ad86cec1ce6f92b diff --git a/source/frmMain.cpp b/source/frmMain.cpp index fcb9952..a41a629 100644 --- a/source/frmMain.cpp +++ b/source/frmMain.cpp @@ -1429,12 +1429,6 @@ void frmMain::LoadPreferences(){ AccountSyncTimers.clear(); - /* - for (int i = (preferences.accounts.GetCount() - 1); i > 0; --i){ - treAccounts->AppendItem(RootNode, preferences.accounts.GetAccountName(i)); - } - */ - wxString AccDir; wxString AccDirFull; wxString AccDirFullSfx; @@ -1478,7 +1472,7 @@ void frmMain::LoadPreferences(){ if (preferences.accounts.GetAccountType(i) == wxT("CardDAV") || preferences.accounts.GetAccountType(i) == wxT("carddav")){ - // Check if the directory exists before doing anything. + // TODO: Check if the directory exists before doing anything. @@ -1514,8 +1508,7 @@ void frmMain::LoadPreferences(){ wxString vCardFilename; wxString vCardDataString; wxString vCardFilenameFull; - //bool ProcFiles = FALSE; - + bool ProcFiles = vcardaccdir.GetFirst(&vCardFilename, wxEmptyString, wxDIR_FILES); while(ProcFiles){