diff --git a/README.md b/README.md index 5f48e2dd..7ced79bb 100644 --- a/README.md +++ b/README.md @@ -11,8 +11,6 @@ For Ubuntu 14.04 LTS users, see this link first: and then proceed with: - sudo apt-get update - sudo apt-get install autoconf autotools-dev build-essential cmake g++ git libboost-all-dev libboost-dev libbz2-dev libdb++-dev libdb-dev libicu-dev libreadline-dev libssl-dev libtool openssl python-dev uuid-dev git clone https://github.com/cryptonomex/graphene.git cd graphene git submodule update --init --recursive diff --git a/programs/light_client/ClientDataModel.cpp b/programs/light_client/ClientDataModel.cpp index 4db9a153..309fcade 100644 --- a/programs/light_client/ClientDataModel.cpp +++ b/programs/light_client/ClientDataModel.cpp @@ -176,7 +176,7 @@ void ChainDataModel::getAccountImpl(QString accountIdentifier, Account* const * (*itr)->deleteLater(); m_accounts.erase(itr); } else { - m_accounts.modify(itr, [=](Account* a){ + m_accounts.modify(itr, [this,&accountPackage](Account* a){ a->setProperty("id", ObjectId(accountPackage->account.id.instance())); a->setProperty("name", QString::fromStdString(accountPackage->account.name));