refactor: move ModelUtils into Utils

This commit is contained in:
tobtoht
2023-03-28 22:42:12 +02:00
parent 8fd583a649
commit 0abd323bbb
21 changed files with 86 additions and 114 deletions
+2 -2
View File
@@ -6,7 +6,7 @@
#include <QRadioButton>
#include "model/ModelUtils.h"
#include "utils/Utils.h"
WalletCacheDebugDialog::WalletCacheDebugDialog(Wallet *wallet, QWidget *parent)
: WindowModalDialog(parent)
@@ -15,7 +15,7 @@ WalletCacheDebugDialog::WalletCacheDebugDialog(Wallet *wallet, QWidget *parent)
{
ui->setupUi(this);
ui->output->setFont(ModelUtils::getMonospaceFont());
ui->output->setFont(Utils::getMonospaceFont());
connect(ui->m_blockchain, &QRadioButton::pressed, [this]{
this->setOutput(m_wallet->printBlockchain());