X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2FfrmEditAccount.cpp;h=35763fb40508a9ae9c5bba59211c8da4250e4e33;hb=a73019906500e3a0fc306a61e4b7975f79725866;hp=b7c8fef333ab26e712ab4aca059ba48af971e283;hpb=45729fca56479bd9158486e0cda0c4a94b4dd1dc;p=xestiaab%2F.git diff --git a/source/frmEditAccount.cpp b/source/frmEditAccount.cpp index b7c8fef..35763fb 100644 --- a/source/frmEditAccount.cpp +++ b/source/frmEditAccount.cpp @@ -1,3 +1,21 @@ +// frmEditAccount.cpp - Edit Account form. +// +// (c) 2012-2015 Xestia Software Development. +// +// This file is part of Xestia Address Book. +// +// Xestia Address Book is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by the +// Free Software Foundation, version 3 of the license. +// +// Xestia Address Book is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with Xestia Address Book. If not, see + #include "frmEditAccount.h" #include "carddav/carddav.h" @@ -63,7 +81,7 @@ void frmEditAccount::DetectAddressBook( wxCommandEvent& event ) CardDAV CDavObj; - CDavObj.SetupConnection(txtAddress->GetValue(), PortNum, txtUsername->GetValue(), txtPassword->GetValue(), UseSSL); + CDavObj.SetupConnection(txtAddress->GetValue(), (int)PortNum, txtUsername->GetValue(), txtPassword->GetValue(), UseSSL); // Attempt to extract the CardDAV address.