diff options
author | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2009-05-28 09:29:34 (GMT) |
---|---|---|
committer | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2009-05-28 09:36:28 (GMT) |
commit | abed949f0de16c94a146a965a13b38493cde6671 (patch) | |
tree | 7ebeab018d49a8a8dbd6249c6c4b377309397c1d | |
parent | 695e49acfb34ffb5b61fddbd6afff9f1281e8299 (diff) | |
download | Qt-abed949f0de16c94a146a965a13b38493cde6671.zip Qt-abed949f0de16c94a146a965a13b38493cde6671.tar.gz Qt-abed949f0de16c94a146a965a13b38493cde6671.tar.bz2 |
BT: aboutQt dialog is too big.
Make use of setInformativeText in qmessagebox for aboutQt dialog for
now. Proper fix might be to add scrollable widget to the dialog, or
split the about info into several pieces, though it cannot be done in a
patch release.
Task-number: 254464
Reviewed-by: Trenton Schulz
-rw-r--r-- | src/gui/dialogs/qmessagebox.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/dialogs/qmessagebox.cpp b/src/gui/dialogs/qmessagebox.cpp index fb3bcb8..b121a8f 100644 --- a/src/gui/dialogs/qmessagebox.cpp +++ b/src/gui/dialogs/qmessagebox.cpp @@ -1723,7 +1723,7 @@ void QMessageBox::aboutQt(QWidget *parent, const QString &title) QMessageBox *msgBox = new QMessageBox(parent); msgBox->setAttribute(Qt::WA_DeleteOnClose); msgBox->setWindowTitle(title.isEmpty() ? tr("About Qt") : title); - msgBox->setText(translatedTextAboutQt); + msgBox->setInformativeText(translatedTextAboutQt); QPixmap pm(QLatin1String(":/trolltech/qmessagebox/images/qtlogo-64.png")); if (!pm.isNull()) |