Fix build
This commit is contained in:
parent
2f97a84cb2
commit
72f5284e49
1 changed files with 3 additions and 3 deletions
|
|
@ -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()) );
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue