File tree Expand file tree Collapse file tree 1 file changed +0
-19
lines changed
Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -1578,25 +1578,6 @@ void MainWindow::showIdCardAlerts(const QSmartCardData& t)
15781578 qApp->showWarning ( tr (" Your ID-card certificates cannot be renewed starting from 01.07.2017." ));
15791579 }
15801580 qApp->smartcard ()->setProperty (" lastcard" , t.card ());
1581-
1582- #ifdef Q_OS_WIN
1583- CertStore store;
1584- if ( !Settings ().value ( " Utility/showRegCert" , false ).toBool () ||
1585- (!store.find ( t.authCert () ) || !store.find ( t.signCert () )) &&
1586- QMessageBox::question ( this , tr ( " Certificate store" ),
1587- tr ( " Certificate is not registered in the certificate store. Register now?" ),
1588- QMessageBox::Yes | QMessageBox::No, QMessageBox::Yes ) == QMessageBox::Yes )
1589- {
1590- QString personalCode = t.authCert ().subjectInfo ( " serialNumber" );
1591- for ( const SslCertificate &c: store.list ())
1592- {
1593- if ( c.subjectInfo ( " serialNumber" ) == personalCode )
1594- store.remove ( c );
1595- }
1596- store.add ( t.authCert (), t.card () );
1597- store.add ( t.signCert (), t.card () );
1598- }
1599- #endif
16001581}
16011582
16021583void MainWindow::showPinBlockedWarning (const QSmartCardData& t)
You can’t perform that action at this time.
0 commit comments