summaryrefslogtreecommitdiffstats
path: root/tdecore/tdehw/tdecryptographiccarddevice.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdecore/tdehw/tdecryptographiccarddevice.cpp')
-rw-r--r--tdecore/tdehw/tdecryptographiccarddevice.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/tdecore/tdehw/tdecryptographiccarddevice.cpp b/tdecore/tdehw/tdecryptographiccarddevice.cpp
index 111cbce17..0125c39a9 100644
--- a/tdecore/tdehw/tdecryptographiccarddevice.cpp
+++ b/tdecore/tdehw/tdecryptographiccarddevice.cpp
@@ -540,6 +540,9 @@ void TDECryptographicCardDevice::cardStatusChanged(TQString status, TQString atr
m_cardPresent = true;
m_cardATR = atr;
emit(cardInserted(this));
+ if (m_cardCertificates.count() > 0) {
+ emit(certificateListAvailable(this));
+ }
}
else if (status == "REMOVED") {
m_cardPresent = false;
@@ -549,6 +552,9 @@ void TDECryptographicCardDevice::cardStatusChanged(TQString status, TQString atr
else if (status == "PRESENT") {
m_cardATR = atr;
m_cardPresent = true;
+ if (m_cardCertificates.count() > 0) {
+ emit(certificateListAvailable(this));
+ }
}
}