summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorJanne Koskinen <janne.p.koskinen@digia.com>2010-11-04 12:47:20 (GMT)
committerJanne Koskinen <janne.p.koskinen@digia.com>2010-11-04 13:01:05 (GMT)
commit5a79d8e83d1f62e365e179b84fa7be1112eb8a52 (patch)
tree498f0812005de8a318dafa20c0e443de1f5d0187 /src/gui
parentab672d88f906b0d6f2d45f9ebbfbf12fdcfba51e (diff)
downloadQt-5a79d8e83d1f62e365e179b84fa7be1112eb8a52.zip
Qt-5a79d8e83d1f62e365e179b84fa7be1112eb8a52.tar.gz
Qt-5a79d8e83d1f62e365e179b84fa7be1112eb8a52.tar.bz2
Wordwrap QInputDialog label in Symbian
Enable wordwrapping for QInputDialog in Symbian to allow longer texts to be displayed without cutting them off. Fixes issue with javascript prompt not showing long texts. Task-number: QT-4008 Reviewed-by: Sami Merila
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/dialogs/qinputdialog.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/dialogs/qinputdialog.cpp b/src/gui/dialogs/qinputdialog.cpp
index abaaa49..ce27bd3 100644
--- a/src/gui/dialogs/qinputdialog.cpp
+++ b/src/gui/dialogs/qinputdialog.cpp
@@ -561,6 +561,9 @@ void QInputDialog::setLabelText(const QString &text)
} else {
d->label->setText(text);
}
+#ifdef Q_OS_SYMBIAN
+ d->label->setWordWrap(true);
+#endif
}
QString QInputDialog::labelText() const