mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 03:44:02 +02:00
balances are 64-bit unsigned ints
This commit is contained in:
parent
861a48f6f9
commit
9acf377573
3 changed files with 4 additions and 4 deletions
|
@ -98,7 +98,7 @@ void AccountManager::updateBalance() {
|
|||
}
|
||||
}
|
||||
|
||||
void AccountManager::accountInfoBalanceChanged(qint64 newBalance) {
|
||||
void AccountManager::accountInfoBalanceChanged(quint64 newBalance) {
|
||||
emit balanceChanged(newBalance);
|
||||
}
|
||||
|
||||
|
|
|
@ -64,7 +64,7 @@ public slots:
|
|||
void requestError(QNetworkReply::NetworkError error);
|
||||
void logout();
|
||||
void updateBalance();
|
||||
void accountInfoBalanceChanged(qint64 newBalance);
|
||||
void accountInfoBalanceChanged(quint64 newBalance);
|
||||
signals:
|
||||
void authRequired();
|
||||
void authEndpointChanged();
|
||||
|
@ -73,7 +73,7 @@ signals:
|
|||
void loginComplete(const QUrl& authURL);
|
||||
void loginFailed();
|
||||
void logoutComplete();
|
||||
void balanceChanged(qint64 newBalance);
|
||||
void balanceChanged(quint64 newBalance);
|
||||
private slots:
|
||||
void processReply();
|
||||
private:
|
||||
|
|
|
@ -44,7 +44,7 @@ public:
|
|||
friend QDataStream& operator<<(QDataStream &out, const DataServerAccountInfo& info);
|
||||
friend QDataStream& operator>>(QDataStream &in, DataServerAccountInfo& info);
|
||||
signals:
|
||||
qint64 balanceChanged(qint64 newBalance);
|
||||
quint64 balanceChanged(quint64 newBalance);
|
||||
private:
|
||||
void swap(DataServerAccountInfo& otherInfo);
|
||||
|
||||
|
|
Loading…
Reference in a new issue