mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-25 18:28:53 +01:00
refactor: remove appcontext, cleanup Wallet
This commit is contained in:
@@ -6,8 +6,8 @@
|
||||
|
||||
#include <QDialog>
|
||||
|
||||
#include "appcontext.h"
|
||||
#include "components.h"
|
||||
#include "libwalletqt/Wallet.h"
|
||||
|
||||
namespace Ui {
|
||||
class WalletCacheDebugDialog;
|
||||
@@ -18,14 +18,14 @@ class WalletCacheDebugDialog : public WindowModalDialog
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit WalletCacheDebugDialog(QSharedPointer<AppContext> ctx, QWidget *parent = nullptr);
|
||||
explicit WalletCacheDebugDialog(Wallet *wallet, QWidget *parent = nullptr);
|
||||
~WalletCacheDebugDialog() override;
|
||||
|
||||
private:
|
||||
void setOutput(const QString &output);
|
||||
|
||||
QScopedPointer<Ui::WalletCacheDebugDialog> ui;
|
||||
QSharedPointer<AppContext> m_ctx;
|
||||
Wallet *m_wallet;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user