Remove unused variable dd

* Remove from linux helper since it's not used anymore since
  397c29857c.
* Remove from windows helper since it's not used anymore since
  92032e6fdb.
* Remove from mac helper since it was never used.
This commit is contained in:
squimrel 2017-03-22 23:49:53 +00:00
parent c6cfb478ee
commit f896c2ef83
5 changed files with 2 additions and 8 deletions

View File

@ -59,8 +59,6 @@ private:
QTextStream err { stderr };
QDBusUnixFileDescriptor fd { -1 };
QFileSystemWatcher watcher { };
QProcess *dd { nullptr };
};
#endif // WRITEJOB_H

View File

@ -32,7 +32,7 @@
#include "isomd5/libcheckisomd5.h"
WriteJob::WriteJob(const QString &what, const QString &where)
: QObject(nullptr), what(what), where(where), dd(new QProcess(this))
: QObject(nullptr), what(what), where(where)
{
connect(&watcher, &QFileSystemWatcher::fileChanged, this, &WriteJob::onFileChanged);
if (what.endsWith(".part")) {

View File

@ -56,8 +56,6 @@ private:
QFileSystemWatcher watcher { };
QProcess *dd;
const int BLOCK_SIZE { 512 * 1024 };
};

View File

@ -37,7 +37,7 @@
WriteJob::WriteJob(const QString &what, const QString &where)
: QObject(nullptr), what(what), dd(new QProcess(this))
: QObject(nullptr), what(what)
{
bool ok = false;
this->where = where.toInt(&ok);

View File

@ -71,8 +71,6 @@ private:
QFileSystemWatcher watcher { };
QProcess *dd;
const int BLOCK_SIZE { 512 * 128 };
};