- 
    Bug 
- 
    Resolution: Done
- 
    P4: Low 
- 
    5.12.0, 5.12.1
- 
    None
- 
    linux amd64 8gb ram
- 
        36a294d1aa18ba67989d505eadf4b9c2012c0c9e (qt/qtbase/5.12)
If you compare the source code from qabstractspinbox.cpp and qdatetimeedit.cpp:
inside void keyPressEvent(QKeyEvent *event)
qabstractspinbox will emit a returnPressed signal for the contained QLineEdit:
{{ emit d->edit->returnPressed();}}
but qdatetimeedit.cpp won't. This creates an unnecessary discrepancy in behaviour, causing problems for me, since I would like to catch the Return/Enter keypress without using an event filter. Please fix.