mirror of
https://github.com/altlinux/ALTMediaWriter.git
synced 2024-10-26 17:25:05 +03:00
Remove unused variable dd
* Remove from linux helper since it's not used anymore since397c29857c
. * Remove from windows helper since it's not used anymore since92032e6fdb
. * Remove from mac helper since it was never used.
This commit is contained in:
parent
c6cfb478ee
commit
f896c2ef83
@ -59,8 +59,6 @@ private:
|
||||
QTextStream err { stderr };
|
||||
QDBusUnixFileDescriptor fd { -1 };
|
||||
QFileSystemWatcher watcher { };
|
||||
|
||||
QProcess *dd { nullptr };
|
||||
};
|
||||
|
||||
#endif // WRITEJOB_H
|
||||
|
@ -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")) {
|
||||
|
@ -56,8 +56,6 @@ private:
|
||||
|
||||
QFileSystemWatcher watcher { };
|
||||
|
||||
QProcess *dd;
|
||||
|
||||
const int BLOCK_SIZE { 512 * 1024 };
|
||||
};
|
||||
|
||||
|
@ -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);
|
||||
|
@ -71,8 +71,6 @@ private:
|
||||
|
||||
QFileSystemWatcher watcher { };
|
||||
|
||||
QProcess *dd;
|
||||
|
||||
const int BLOCK_SIZE { 512 * 128 };
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user