diff options
| author | Christoph Berg <myon@debian.org> | 2021-01-05 22:09:50 +0100 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2021-01-05 22:09:50 +0100 |
| commit | 061dc1a349738747489ef0c0ebeeb4443e369501 (patch) | |
| tree | b5671ff01ada5a62d6d91a54125a6bd6e3209021 /widgets/logqso.cpp | |
| parent | 77922fa33547ce24535f2e514c9a112dcb496f18 (diff) | |
New upstream version 2.3.0~rc3+repackupstream/2.3.0_rc3+repack
Diffstat (limited to 'widgets/logqso.cpp')
| -rw-r--r-- | widgets/logqso.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/widgets/logqso.cpp b/widgets/logqso.cpp index 7a74b86c..f4927449 100644 --- a/widgets/logqso.cpp +++ b/widgets/logqso.cpp @@ -1,5 +1,6 @@ #include "logqso.h" +#include <QLocale> #include <QString> #include <QSettings> #include <QStandardPaths> @@ -61,6 +62,9 @@ LogQSO::LogQSO(QString const& programTitle, QSettings * settings ui->comboBoxPropMode->addItem (prop_mode.name_, prop_mode.id_); } loadSettings (); + auto date_time_format = QLocale {}.dateFormat (QLocale::ShortFormat) + " hh:mm:ss"; + ui->start_date_time->setDisplayFormat (date_time_format); + ui->end_date_time->setDisplayFormat (date_time_format); ui->grid->setValidator (new MaidenheadLocatorValidator {this}); } |
