mirror of
https://github.com/feather-wallet/feather.git
synced 2024-11-17 01:37:53 +00:00
Merge pull request 'XMRig: don't disable mining on Tails' (#176) from tobtoht/feather:xmrig_mining_tails into master
Reviewed-on: https://git.wownero.com/feather/feather/pulls/176
This commit is contained in:
commit
ca5b1df7df
2 changed files with 3 additions and 8 deletions
|
@ -154,8 +154,7 @@ AppContext::AppContext(QCommandLineParser *cmdargs) {
|
|||
// XMRig
|
||||
#ifdef HAS_XMRIG
|
||||
this->XMRig = new XmRig(this->configDirectory, this);
|
||||
if(!this->isTails)
|
||||
this->XMRig->prepare();
|
||||
this->XMRig->prepare();
|
||||
#endif
|
||||
|
||||
this->walletManager = WalletManager::instance();
|
||||
|
|
|
@ -85,12 +85,8 @@ XMRigWidget::XMRigWidget(AppContext *ctx, QWidget *parent) :
|
|||
ui->console->appendPlainText("Invalid path to XMRig binary detected. Please reconfigure on the Settings tab.");
|
||||
else
|
||||
ui->console->appendPlainText(QString("XMRig path set to %1").arg(path));
|
||||
if(m_ctx->isTails) {
|
||||
ui->console->appendPlainText("Mining not available on Tails.");
|
||||
ui->btn_start->setEnabled(false);
|
||||
}
|
||||
else
|
||||
ui->console->appendPlainText("Ready to mine.");
|
||||
|
||||
ui->console->appendPlainText("Ready to mine.");
|
||||
|
||||
// username/password
|
||||
connect(ui->lineEdit_password, &QLineEdit::editingFinished, [=]() {
|
||||
|
|
Loading…
Reference in a new issue