mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-23 18:32:55 +00:00
handle QDateTimeParser::TimeZoneSection enum in QDateTimeEditPrivate::convertToPublic()
introduced in:
3c69bcc12b
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
d9282d28b2
commit
a343e9db24
1 changed files with 2 additions and 1 deletions
|
@ -2014,6 +2014,7 @@ QDateTimeEdit::Section QDateTimeEditPrivate::convertToPublic(QDateTimeParser::Se
|
|||
case YearSection: return QDateTimeEdit::YearSection;
|
||||
case Hour12Section:
|
||||
case Hour24Section: return QDateTimeEdit::HourSection;
|
||||
case TimeZoneSection:
|
||||
case FirstSection:
|
||||
case NoSection:
|
||||
case LastSection: break;
|
||||
|
@ -2063,7 +2064,7 @@ void QDateTimeEdit::paintEvent(QPaintEvent *event)
|
|||
|
||||
optCombo.init(this);
|
||||
optCombo.editable = true;
|
||||
optCombo.frame = opt.frame;
|
||||
optCombo.frame = opt.frame;
|
||||
optCombo.subControls = opt.subControls;
|
||||
optCombo.activeSubControls = opt.activeSubControls;
|
||||
optCombo.state = opt.state;
|
||||
|
|
Loading…
Add table
Reference in a new issue