Remove unnecessary sizehint overload.

Change-Id: Id6b3e206d59df25f6252da48ac99265226313635
Reviewed-by: Jonas Gastal <jgastal@profusion.mobi>
Reviewed-by: Richard J. Moore <rich@kde.org>
This commit is contained in:
Robin Burchell 2012-01-20 02:35:51 +02:00 committed by Qt by Nokia
parent 5ff1a76a53
commit 9d7123e4de
2 changed files with 0 additions and 11 deletions

View File

@ -1810,15 +1810,6 @@ void QMessageBox::aboutQt(QWidget *parent, const QString &title)
#endif
}
/*!
\internal
*/
QSize QMessageBox::sizeHint() const
{
// ### Qt 5: remove
return QDialog::sizeHint();
}
/////////////////////////////////////////////////////////////////////////////////////////
// Source and binary compatibility routines for 4.0 and 4.1

View File

@ -203,8 +203,6 @@ public:
static void about(QWidget *parent, const QString &title, const QString &text);
static void aboutQt(QWidget *parent, const QString &title = QString());
QSize sizeHint() const;
// the following functions are obsolete:
QMessageBox(const QString &title, const QString &text, Icon icon,