diff options
author | saturneric <[email protected]> | 2024-01-18 13:47:17 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-01-18 13:47:17 +0000 |
commit | e8d604cf2924ab101c2a102c23d5028473289814 (patch) | |
tree | 8eb6eee373c0343b1836fac5aed79b9be83a67dd /src/ui/main_window/MainWindowSlotFunction.cpp | |
parent | fix: add test cases and solve discovered issues (diff) | |
download | GpgFrontend-e8d604cf2924ab101c2a102c23d5028473289814.tar.gz GpgFrontend-e8d604cf2924ab101c2a102c23d5028473289814.zip |
fix: slove discovered bugs
Diffstat (limited to 'src/ui/main_window/MainWindowSlotFunction.cpp')
-rw-r--r-- | src/ui/main_window/MainWindowSlotFunction.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ui/main_window/MainWindowSlotFunction.cpp b/src/ui/main_window/MainWindowSlotFunction.cpp index fe9aa0df..dd7fa5c8 100644 --- a/src/ui/main_window/MainWindowSlotFunction.cpp +++ b/src/ui/main_window/MainWindowSlotFunction.cpp @@ -98,8 +98,7 @@ void MainWindow::slot_append_keys_create_datetime() { } auto create_datetime_format_str_local = - QLocale::system().toString(key.GetCreateTime()) + tr(" (Local Time) ") + - "\n"; + QLocale().toString(key.GetCreateTime()) + tr(" (Local Time) ") + "\n"; edit_->SlotAppendText2CurTextPage(create_datetime_format_str_local); } |