fix crash on oscar startup for ubuntu 20.04.04 using qt 5.12.8

This commit is contained in:
ray 2023-06-18 21:44:01 -04:00
parent b63c62d2b1
commit 5638e2f470

View File

@ -606,9 +606,11 @@
<property name="currentSection"> <property name="currentSection">
<enum>QDateTimeEdit::MonthSection</enum> <enum>QDateTimeEdit::MonthSection</enum>
</property> </property>
<!-- this cause oscar to crash on start up with linus 20.04.o4
<property name="displayFormat"> <property name="displayFormat">
<string>Qt::SystemLocaleShortDate</string> <string>Qt::SystemLocaleShortDate</string>
</property> </property>
-->
<property name="calendarPopup"> <property name="calendarPopup">
<bool>true</bool> <bool>true</bool>
</property> </property>
@ -635,15 +637,17 @@
<property name="currentSection"> <property name="currentSection">
<enum>QDateTimeEdit::MonthSection</enum> <enum>QDateTimeEdit::MonthSection</enum>
</property> </property>
<!-- this cause oscar to crash on start up with linus 20.04.o4
<property name="displayFormat"> <property name="displayFormat">
<string>Qt::SystemLocaleShortDate</string> <string>Qt::SystemLocaleShortDate</string>
</property> </property>
<property name="calendarPopup"> -->
<bool>true</bool>
</property>
<property name="currentSectionIndex"> <property name="currentSectionIndex">
<number>1</number> <number>1</number>
</property> </property>
<property name="calendarPopup">
<bool>true</bool>
</property>
</widget> </widget>
</item> </item>
<item> <item>