Fix certificate assignment importing a CA certificate

Fix finding our unassigned certificates when importing a CA
(issuerSqlId may be QVariant(int, 0) depending on the database)

Reassign certs from an older CA to the imported one.
This commit is contained in:
Christian Hohnstaedt 2020-03-02 21:32:10 +01:00
parent c098b235ce
commit c3abd640fc
2 changed files with 2 additions and 2 deletions

View File

@ -54,7 +54,7 @@
QString currentDB;
Passwd readPass(bool echo)
Passwd readPass()
{
Passwd pw;
#if !defined(Q_OS_WIN32)

View File

@ -38,7 +38,7 @@
class Validity;
extern QString currentDB;
Passwd readPass(bool echo = false);
Passwd readPass();
QPixmap *loadImg(const char *name);
int portable_app();
const QString getPrefix();