aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/details/VerifyDetailsDialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/dialog/details/VerifyDetailsDialog.cpp')
-rw-r--r--src/ui/dialog/details/VerifyDetailsDialog.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ui/dialog/details/VerifyDetailsDialog.cpp b/src/ui/dialog/details/VerifyDetailsDialog.cpp
index d2af4ee1..307d404a 100644
--- a/src/ui/dialog/details/VerifyDetailsDialog.cpp
+++ b/src/ui/dialog/details/VerifyDetailsDialog.cpp
@@ -65,7 +65,11 @@ void VerifyDetailsDialog::slot_refresh() {
// Get timestamp of signature of current text
QDateTime timestamp;
+#ifdef GPGFRONTEND_GUI_QT6
+ timestamp.setSecsSinceEpoch(sign->timestamp);
+#else
timestamp.setTime_t(sign->timestamp);
+#endif
// Set the title widget depending on sign status
if (gpg_err_code(sign->status) == GPG_ERR_BAD_SIGNATURE) {