mirror of
https://github.com/monero-project/monero-gui
synced 2024-12-20 04:15:53 +01:00
DaemonManager: drop unused 'initialized', 'm_has_daemon' members
This commit is contained in:
parent
4141832a4d
commit
5c13624596
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user