Fix build without xmrig

This commit is contained in:
n-peugnet
2021-06-14 20:05:43 +02:00
parent be8a4d1841
commit a4aca5a38a
2 changed files with 4 additions and 0 deletions
+2
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";
+2
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;