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:
parent
5ff1a76a53
commit
9d7123e4de
@ -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
|
||||
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user