tr("Please install GnuPG on your system.<br>Install <strong>gpg</strong> using your favorite package manager<br>or <a href=\"https://www.gnupg.org/download/#sec-1-2\">download</a> it from GnuPG.org"));
clean = true;
}
QStringList names = mainWindow->getSecretKeys();
//qDebug() << names;
if (QFile(gpg).exists() && names.empty()) {
KeygenDialog d(this);
if (!d.exec()) {
return;
}
}
QString passStore = ui->storePath->text();
if (clean && !QFile(passStore).exists()) {
// TODO pass version?
if (QMessageBox::question(this, tr("Create password-store?"),
tr("Would you like to create a password-store at %1?").arg(passStore),