Commit 2313b85a authored by Ahmad Samir's avatar Ahmad Samir
Browse files

GenRevokeCommand: create a QMetaObject::Connection in the base class...

... GnuPGProcessCommand, so that we can more precisely disconnect
QProcess::readyReadStandardError.
parent 05346fb5
......@@ -124,8 +124,7 @@ void GenRevokeCommand::doStart()
auto proc = process();
// We do custom io
disconnect(proc, SIGNAL(readyReadStandardError()),
this, SLOT(slotProcessReadyReadStandardError()));
disconnect(m_procReadyReadStdErrConnection);
proc->setReadChannel(QProcess::StandardOutput);
GnuPGProcessCommand::doStart();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment