X-Git-Url: http://Server1/repobrowser/?p=xestiaab%2F.git;a=blobdiff_plain;f=source%2Fcontacteditor%2FfrmContactEditor.cpp;h=ad16901adc458d774ad2eeda0e9201965f756352;hp=4856537b0a699209934c5ad4822709cc4d636341;hb=3c4b20954ac161e85084a6f5960b7d38d2d48396;hpb=60610b9783dc136d455389227c1b71627f47aba5 diff --git a/source/contacteditor/frmContactEditor.cpp b/source/contacteditor/frmContactEditor.cpp index 4856537..ad16901 100644 --- a/source/contacteditor/frmContactEditor.cpp +++ b/source/contacteditor/frmContactEditor.cpp @@ -65,11 +65,6 @@ #include "../common/uuid.h" #include "../common/dirs.h" -// TODO: Investigate problems with SFML & PulseAudio - CPU usage problems when -// not being used. - -// Replace intResult with intValueSeek. - BEGIN_EVENT_TABLE(frmContactEditor, wxFrame) EVT_COMMAND(wxID_ANY, wxEVT_COMMAND_BUTTON_CLICKED, frmContactEditor::ContactFileChanged) END_EVENT_TABLE() @@ -180,18 +175,6 @@ void frmContactEditor::SetupAccountData(bool UnsupportedAccount){ int frmContactEditor::GetLastInt(std::map *MapData){ - /* - int intResult = 0; - - std::map::iterator iwxsit; - - for( iwxsit=(*MapData).begin(); iwxsit != (*MapData).end(); iwxsit++){ - intResult = (*iwxsit).first; - } - - return intResult; - */ - intValueSeek++; return intValueSeek; @@ -199,14 +182,6 @@ int frmContactEditor::GetLastInt(std::map *MapData){ int frmContactEditor::GetLastInt(std::map *MapData){ - /* int intResult = 0; - - std::map::iterator iwxsit; - - for( iwxsit=(*MapData).begin(); iwxsit != (*MapData).end(); iwxsit++){ - intResult = (*iwxsit).first; - }*/ - intValueSeek++; return intValueSeek;