Details
-
Bug
-
Resolution: Cannot Reproduce
-
P2: Important
-
4.4.3
-
None
Description
If setAutoAdvance(true) is set on a Q3DateTimeEdit on a system that is using a locale that is not showing time with AM / PM.
When the seconds is changed and AutoAdvance it set it will try to move focus to the next section. But since the locale is not showing the AM/PM section, it will assert.
Example Code:
#include <QtGui>
#include <Q3DateTimeEdit.h>
int main(int argv, char *args[])
{
QApplication app(argv, args);
QWidget win;
Q3DateTimeEdit *dt = new Q3DateTimeEdit(&win);
dt->setAutoAdvance(true);
win.show();
return app.exec();
}