Dead code removal.

:exclamation: TODO: e->delta() deprecated in Qt5