From bf01b5058ac2d6ec0a9a1b6d2fdb60ff66013d23 Mon Sep 17 00:00:00 2001 From: Schachigel <53512657+Schachigel@users.noreply.github.com> Date: Mon, 22 Dec 2025 11:46:50 +0100 Subject: [PATCH] Add QDateEdit to the fallback property list in qwizard.cpp QDateEdit, derived from QDateTimeEdit, must not use the dateTime property, because it defaults to UTC time zone. The convertion back to localtime in the setField / field mechanism can make the date change, if the time is 00:00 or close to it. --- src/widgets/dialogs/qwizard.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/widgets/dialogs/qwizard.cpp b/src/widgets/dialogs/qwizard.cpp index 58a4115374e..53f6b149bc8 100644 --- a/src/widgets/dialogs/qwizard.cpp +++ b/src/widgets/dialogs/qwizard.cpp @@ -105,6 +105,7 @@ const struct { { "QAbstractSlider", "value" }, { "QComboBox", "currentIndex" }, { "QDateTimeEdit", "dateTime" }, + { "QDateEdit", "date" }, { "QLineEdit", "text" }, { "QListWidget", "currentRow" }, { "QSpinBox", "value" },