* @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 */
| 370 | * @param p_errout Standard error output from the key generation process |
| 371 | */ |
| 372 | void 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. |
nothing calls this directly
no test coverage detected