aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/controller/SmartCardControllerDialog.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2025-04-17 19:59:01 +0000
committersaturneric <[email protected]>2025-04-17 19:59:01 +0000
commit92be7f8da6076311b996a184c76781c07608cc9f (patch)
tree1088b3f5ad7c086e7f462287c14624e2202adbf0 /src/ui/dialog/controller/SmartCardControllerDialog.cpp
parentfeat: check scd version (diff)
downloadGpgFrontend-92be7f8da6076311b996a184c76781c07608cc9f.tar.gz
GpgFrontend-92be7f8da6076311b996a184c76781c07608cc9f.zip
fix: issues found on linux platform
Diffstat (limited to 'src/ui/dialog/controller/SmartCardControllerDialog.cpp')
-rw-r--r--src/ui/dialog/controller/SmartCardControllerDialog.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ui/dialog/controller/SmartCardControllerDialog.cpp b/src/ui/dialog/controller/SmartCardControllerDialog.cpp
index 254ed83c..530f2e7e 100644
--- a/src/ui/dialog/controller/SmartCardControllerDialog.cpp
+++ b/src/ui/dialog/controller/SmartCardControllerDialog.cpp
@@ -148,7 +148,10 @@ SmartCardControllerDialog::SmartCardControllerDialog(QWidget* parent)
timer_ = new QTimer(this);
connect(timer_, &QTimer::timeout, this,
&SmartCardControllerDialog::slot_listen_smart_card_changes);
- timer_->start(3000);
+
+ if (scd_version_supported_) {
+ timer_->start(3000);
+ }
setWindowTitle(tr("Smart Card Controller"));
}