AppContext: clean up interface

This commit is contained in:
tobtoht 2021-07-03 20:54:27 +02:00
parent 33fbde8c19
commit 758b385aef
No known key found for this signature in database
GPG key ID: 1CADD27F41F45C3C
2 changed files with 0 additions and 13 deletions

View file

@ -2,7 +2,6 @@
// Copyright (c) 2020-2021, The Monero Project.
#include <QDir>
#include <QMessageBox>
#include "appcontext.h"
#include "constants.h"
@ -111,17 +110,6 @@ void AppContext::onCreateTransactionMultiDest(const QVector<QString> &addresses,
emit initiateTransaction();
}
void AppContext::onSweepOutput(const QString &keyImage, QString address, bool churn, int outputs) {
if (churn) {
address = this->wallet->address(0, 0); // primary address
}
qInfo() << "Creating transaction";
this->wallet->createTransactionSingleAsync(keyImage, address, outputs, this->tx_priority);
emit initiateTransaction();
}
void AppContext::onSweepOutputs(const QVector<QString> &keyImages, QString address, bool churn, int outputs) {
if (churn) {
address = this->wallet->address(0, 0);

View file

@ -52,7 +52,6 @@ public slots:
void onCreateTransaction(const QString &address, quint64 amount, const QString &description, bool all);
void onCreateTransactionMultiDest(const QVector<QString> &addresses, const QVector<quint64> &amounts, const QString &description);
void onCancelTransaction(PendingTransaction *tx, const QVector<QString> &address);
void onSweepOutput(const QString &keyImage, QString address, bool churn, int outputs);
void onSweepOutputs(const QVector<QString> &keyImages, QString address, bool churn, int outputs);
void onCreateTransactionError(const QString &msg);
void onOpenAliasResolve(const QString &openAlias);