summaryrefslogtreecommitdiffstats
path: root/src/gui/dialogs
diff options
context:
space:
mode:
authorHonglei Zhang <honglei.zhang@nokia.com>2011-08-04 07:48:43 (GMT)
committerHonglei Zhang <honglei.zhang@nokia.com>2011-08-04 07:48:43 (GMT)
commit4fb3beaf326384cd85c159ceecd31a625913dcbb (patch)
tree3ee31f4755292a0077e10d723804491f2ba794d3 /src/gui/dialogs
parent41c038dadb505d82447e1d9a8a743e0614c60098 (diff)
parent8479ef846a60c230be3f5af470ec5129bc4375f3 (diff)
downloadQt-4fb3beaf326384cd85c159ceecd31a625913dcbb.zip
Qt-4fb3beaf326384cd85c159ceecd31a625913dcbb.tar.gz
Qt-4fb3beaf326384cd85c159ceecd31a625913dcbb.tar.bz2
Merge branch 'master' of scm.dev.nokia.troll.no:qt/qt-symbian-team
Diffstat (limited to 'src/gui/dialogs')
-rw-r--r--src/gui/dialogs/qmessagebox.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/dialogs/qmessagebox.cpp b/src/gui/dialogs/qmessagebox.cpp
index a2f086b..66e7216 100644
--- a/src/gui/dialogs/qmessagebox.cpp
+++ b/src/gui/dialogs/qmessagebox.cpp
@@ -2486,7 +2486,7 @@ void QMessageBox::setInformativeText(const QString &text)
}
if (!d->informativeLabel) {
- QLabel *label = new QLabel;
+ QLabel *label = new QLabel(this);
label->setObjectName(QLatin1String("qt_msgbox_informativelabel"));
label->setTextInteractionFlags(Qt::TextInteractionFlags(style()->styleHint(QStyle::SH_MessageBox_TextInteractionFlags, 0, this)));
label->setAlignment(Qt::AlignTop | Qt::AlignLeft);