diff options
| author | Christoph Berg <myon@debian.org> | 2021-01-05 22:10:30 +0100 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2021-01-05 22:10:30 +0100 |
| commit | 8e43a898258cdf4a3eaec64f06069017b2d24a4d (patch) | |
| tree | 82cfd1cbc20f8a219522a8036e8a3622eec44440 /widgets/logqso.cpp | |
| parent | a42d3323808f2f57138c4a636db7f9f78c30c59f (diff) | |
| parent | 061dc1a349738747489ef0c0ebeeb4443e369501 (diff) | |
Update upstream source from tag 'upstream/2.3.0_rc3+repack'
Update to upstream version '2.3.0~rc3+repack'
with Debian dir 5129b722b4b0bb33d8e8b0c41dd5606650a3ee38
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}); } |
