Remove exit call from the helper. It is no longer used.
BUG: 412887
This commit is contained in:
parent
89bd4eb6c7
commit
2dff59260c
|
@ -303,14 +303,6 @@ QVariantMap ExternalCommandHelper::start(const QString& command, const QStringLi
|
|||
return reply;
|
||||
}
|
||||
|
||||
void ExternalCommandHelper::exit()
|
||||
{
|
||||
if (!isCallerAuthorized()) {
|
||||
return;
|
||||
}
|
||||
qApp->quit();
|
||||
}
|
||||
|
||||
void ExternalCommandHelper::onReadOutput()
|
||||
{
|
||||
/* const QByteArray s = cmd.readAllStandardOutput();
|
||||
|
|
|
@ -41,7 +41,6 @@ public Q_SLOTS:
|
|||
Q_SCRIPTABLE QVariantMap copyblocks(const QString& sourceDevice, const qint64 sourceFirstByte, const qint64 sourceLength, const QString& targetDevice, const qint64 targetFirstByte, const qint64 blockSize);
|
||||
Q_SCRIPTABLE bool writeData(const QByteArray& buffer, const QString& targetDevice, const qint64 targetFirstByte);
|
||||
Q_SCRIPTABLE bool createFile(const QByteArray& fileContents, const QString& filePath);
|
||||
Q_SCRIPTABLE void exit();
|
||||
|
||||
private:
|
||||
|
||||
|
|
Loading…
Reference in New Issue