MCPcopy Create free account
hub / github.com/IJHack/QtPass / onKeyGenerationComplete

Method onKeyGenerationComplete

src/qtpass.cpp:372–385  ·  view source on GitHub ↗

* @brief Called when GPG key generation is complete. * @param p_output Standard output from the key generation process * @param p_errout Standard error output from the key generation process */

Source from the content-addressed store, hash-verified

370 * @param p_errout Standard error output from the key generation process
371 */
372void QtPass::onKeyGenerationComplete(const QString &p_output,
373 const QString &p_errout) {
374 if (nullptr != m_mainWindow->getKeygenDialog()) {
375#ifdef QT_DEBUG
376 qDebug() << "Keygen Done";
377#endif
378
379 m_mainWindow->cleanKeygenDialog();
380 m_mainWindow->showStatusMessage(tr("GPG key pair generated successfully"),
381 10000);
382 }
383
384 processFinished(p_output, p_errout);
385}
386
387/**
388 * @brief Called when the password show handler has finished.

Callers

nothing calls this directly

Calls 3

getKeygenDialogMethod · 0.80
cleanKeygenDialogMethod · 0.80
showStatusMessageMethod · 0.80

Tested by

no test coverage detected