DaemonManager: drop unused 'initialized', 'm_has_daemon' members

This commit is contained in:
xiphon 2020-04-27 12:48:01 +00:00
parent 4141832a4d
commit 5c13624596
2 changed files with 0 additions and 4 deletions

View file

@ -127,7 +127,6 @@ bool DaemonManager::start(const QString &flags, NetworkType::Type nettype, const
QMutexLocker locker(&m_daemonMutex);
m_daemon.reset(new QProcess());
initialized = true;
// Connect output slots
connect(m_daemon.get(), SIGNAL(readyReadStandardOutput()), this, SLOT(printOutput()));
@ -360,7 +359,6 @@ DaemonManager::DaemonManager(QObject *parent)
if (m_monerod.length() == 0) {
qCritical() << "no daemon binary defined for current platform";
m_has_daemon = false;
}
}

View file

@ -83,9 +83,7 @@ private:
static QStringList m_clArgs;
std::unique_ptr<QProcess> m_daemon;
QMutex m_daemonMutex;
bool initialized = false;
QString m_monerod;
bool m_has_daemon = true;
bool m_app_exit = false;
bool m_noSync = false;