Merge pull request 'Fix build without xmrig' (#365) from n-peugnet/feather:fix-build-xmrig into master

Reviewed-on: https://git.featherwallet.org/feather/feather/pulls/365
This commit is contained in:
tobtoht 2021-06-14 18:35:14 +00:00
commit 89d2aad244
2 changed files with 4 additions and 0 deletions

View file

@ -1342,8 +1342,10 @@ void MainWindow::updateTitle() {
if (m_ctx->wallet->viewOnly())
title += " [view-only]";
#ifdef HAS_XMRIG
if (m_xmrig->isMining())
title += " [mining]";
#endif
title += " - Feather";

View file

@ -213,7 +213,9 @@ private:
CalcWindow *m_windowCalc = nullptr;
SplashDialog *m_splashDialog = nullptr;
#ifdef HAS_XMRIG
XMRigWidget *m_xmrig = nullptr;
#endif
ContactsWidget *m_contactsWidget = nullptr;
HistoryWidget *m_historyWidget = nullptr;
SendWidget *m_sendWidget = nullptr;