Fix build

This commit is contained in:
Nathan Hourt 2015-07-14 12:38:59 -04:00
parent 2f97a84cb2
commit 72f5284e49

View file

@ -49,7 +49,7 @@ Account* ChainDataModel::getAccount(qint64 id)
); );
} }
}); });
} }
catch ( const fc::exception& e ) catch ( const fc::exception& e )
{ {
Q_EMIT exceptionThrown( QString::fromStdString(e.to_string()) ); Q_EMIT exceptionThrown( QString::fromStdString(e.to_string()) );
@ -94,12 +94,12 @@ Account* ChainDataModel::getAccount(QString name)
{ {
by_name_idx.modify( itr, by_name_idx.modify( itr,
[=]( Account* a ){ [=]( Account* a ){
a->setProperty("id", result.front()->id.instance() ); a->setProperty("id", qint64(result.front()->id.instance()));
} }
); );
} }
}); });
} }
catch ( const fc::exception& e ) catch ( const fc::exception& e )
{ {
Q_EMIT exceptionThrown( QString::fromStdString(e.to_string()) ); Q_EMIT exceptionThrown( QString::fromStdString(e.to_string()) );