OSDN Git Service

remove default QDateTimeEdit::wheelEvent() reimplementation
authorIvailo Monev <xakepa10@laimg.moc>
Mon, 22 Jun 2020 17:57:45 +0000 (17:57 +0000)
committerIvailo Monev <xakepa10@laimg.moc>
Mon, 22 Jun 2020 17:57:45 +0000 (17:57 +0000)
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
src/gui/widgets/qdatetimeedit.cpp
src/gui/widgets/qdatetimeedit.h

index 01055cf..34544ad 100644 (file)
@@ -1105,17 +1105,6 @@ void QDateTimeEdit::keyPressEvent(QKeyEvent *event)
   \reimp
 */
 
-#ifndef QT_NO_WHEELEVENT
-void QDateTimeEdit::wheelEvent(QWheelEvent *event)
-{
-    QAbstractSpinBox::wheelEvent(event);
-}
-#endif
-
-/*!
-  \reimp
-*/
-
 void QDateTimeEdit::focusInEvent(QFocusEvent *event)
 {
     Q_D(QDateTimeEdit);
index 8831106..97bd5b1 100644 (file)
@@ -171,9 +171,6 @@ public Q_SLOTS:
 
 protected:
     virtual void keyPressEvent(QKeyEvent *event);
-#ifndef QT_NO_WHEELEVENT
-    virtual void wheelEvent(QWheelEvent *event);
-#endif
     virtual void focusInEvent(QFocusEvent *event);
     virtual bool focusNextPrevChild(bool next);
     virtual QValidator::State validate(QString &input, int &pos) const;