aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/details/VerifyDetailsDialog.cpp
diff options
context:
space:
mode:
authorSaturn&Eric <[email protected]>2023-02-25 11:49:54 +0000
committerGitHub <[email protected]>2023-02-25 11:49:54 +0000
commitaf1cd680f2496629026ba27707cef2afd860f5f9 (patch)
tree78e78450893e98b8828cc41010e377c1561e5f34 /src/ui/dialog/details/VerifyDetailsDialog.cpp
parentfix: improve manual (diff)
parentfeat: use aqt to install qt in ci build (diff)
downloadGpgFrontend-af1cd680f2496629026ba27707cef2afd860f5f9.tar.gz
GpgFrontend-af1cd680f2496629026ba27707cef2afd860f5f9.zip
Merge pull request #91 from saturneric/dev/2.0.10/main
Develop 2.1.0.1
Diffstat (limited to '')
-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) {