Merge pull request #2868

5c13624 DaemonManager: drop unused 'initialized', 'm_has_daemon' members (xiphon)
This commit is contained in:
luigi1111 2020-04-28 21:41:19 -05:00
commit 6f71d47806
No known key found for this signature in database
GPG key ID: F4ACA0183641E010
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;