diff --git a/src/widgets/widgets/qtoolbutton.cpp b/src/widgets/widgets/qtoolbutton.cpp index 68a4f20fb6..a8fa4ff58b 100644 --- a/src/widgets/widgets/qtoolbutton.cpp +++ b/src/widgets/widgets/qtoolbutton.cpp @@ -960,15 +960,6 @@ bool QToolButton::event(QEvent *event) return QAbstractButton::event(event); } -/*! \internal - */ -QToolButton::QToolButton(QToolButtonPrivate &dd, QWidget *parent) - :QAbstractButton(dd, parent) -{ - Q_D(QToolButton); - d->init(); -} - /*! \fn void QToolButton::setPixmap(const QPixmap &pixmap) diff --git a/src/widgets/widgets/qtoolbutton.h b/src/widgets/widgets/qtoolbutton.h index 0cfadf0e1c..dbae9258fa 100644 --- a/src/widgets/widgets/qtoolbutton.h +++ b/src/widgets/widgets/qtoolbutton.h @@ -108,7 +108,6 @@ Q_SIGNALS: void triggered(QAction *); protected: - QToolButton(QToolButtonPrivate &, QWidget* parent); bool event(QEvent *e); void mousePressEvent(QMouseEvent *); void mouseReleaseEvent(QMouseEvent *);