mirror of
https://github.com/lubosz/overte.git
synced 2025-04-19 17:03:43 +02:00
oops. didn't test what I thought I did
This commit is contained in:
parent
1cf81495ab
commit
7414bf0d9a
3 changed files with 3 additions and 3 deletions
|
@ -131,6 +131,6 @@
|
|||
{ "from": "Keyboard.Space", "to": "Actions.SHIFT" },
|
||||
{ "from": "Keyboard.R", "to": "Actions.ACTION1" },
|
||||
{ "from": "Keyboard.T", "to": "Actions.ACTION2" },
|
||||
{ "from": "Keyboard.Tab", "to": "Actions.ContextMenu" }
|
||||
{ "from": "Keyboard.RightMouseClicked", "to": "Actions.ContextMenu" }
|
||||
]
|
||||
}
|
||||
|
|
|
@ -36,7 +36,7 @@ bool Ledger::buy(const QString& hfc_key, int cost, const QString& asset_id, cons
|
|||
return true; // FIXME send to server.
|
||||
}
|
||||
|
||||
bool receiveAt(const QString& hfc_key) {
|
||||
bool Ledger::receiveAt(const QString& hfc_key) {
|
||||
auto accountManager = DependencyManager::get<AccountManager>();
|
||||
if (!accountManager->isLoggedIn()) {
|
||||
qCWarning(commerce) << "Cannot set receiveAt when not logged in.";
|
||||
|
|
|
@ -21,7 +21,7 @@ bool QmlCommerce::buy(const QString& assetId, int cost, const QString& buyerUser
|
|||
auto ledger = DependencyManager::get<Ledger>();
|
||||
auto wallet = DependencyManager::get<Wallet>();
|
||||
QStringList keys = wallet->listPublicKeys();
|
||||
if (keys.count == 0) {
|
||||
if (keys.count() == 0) {
|
||||
return false;
|
||||
}
|
||||
QString key = keys[0];
|
||||
|
|
Loading…
Reference in a new issue