diff options
author | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2020-08-03 21:20:38 +0200 |
---|---|---|
committer | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2020-08-06 19:33:28 +0200 |
commit | 3938d932220e70e2dccb81786135acfcf9ea187b (patch) | |
tree | bf81c128807a2710199d2d4ee43f036047a3e81c /src | |
parent | f32a38b6c6fa192bf7fc980968fc43b6eca011f4 (diff) |
QCalendar: actually remember if the registry has been populated
The "populated" variable is otherwise never written into.
Change-Id: I979411a19927dc4e7e09c6c36edfb2308f519596
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/corelib/time/qcalendar.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/corelib/time/qcalendar.cpp b/src/corelib/time/qcalendar.cpp index 7b50eb008c..1f4eab3275 100644 --- a/src/corelib/time/qcalendar.cpp +++ b/src/corelib/time/qcalendar.cpp @@ -123,6 +123,8 @@ struct Registry { for (int i = 0; i <= int(QCalendar::System::Last); ++i) (void)QCalendar(QCalendar::System(i)); + + populated = true; } }; |