summaryrefslogtreecommitdiffstats
path: root/examples/widgets/richtext/orderform/mainwindow.cpp
diff options
context:
space:
mode:
authorDavid Schulz <david.schulz@digia.com>2012-11-23 13:36:40 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-11-24 23:07:54 +0100
commitd5ec06be6397b807b743aa46707ff45aa9dccafa (patch)
treeff53ede51fa0e3d90cb0619d7297be5e49025810 /examples/widgets/richtext/orderform/mainwindow.cpp
parentcf1e315e285b9a645231538bcbacf9e541c970c3 (diff)
QtBase: examples/widgets/richtext code style
Change-Id: Ie0c27464e0fdb8f26caf0d8f27043da4ec45f41f Reviewed-by: hjk <qthjk@ovi.com>
Diffstat (limited to 'examples/widgets/richtext/orderform/mainwindow.cpp')
-rw-r--r--examples/widgets/richtext/orderform/mainwindow.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/widgets/richtext/orderform/mainwindow.cpp b/examples/widgets/richtext/orderform/mainwindow.cpp
index 8cd16abb20..4334e8bb71 100644
--- a/examples/widgets/richtext/orderform/mainwindow.cpp
+++ b/examples/widgets/richtext/orderform/mainwindow.cpp
@@ -225,9 +225,10 @@ void MainWindow::openDialog()
{
DetailsDialog dialog(tr("Enter Customer Details"), this);
- if (dialog.exec() == QDialog::Accepted)
+ if (dialog.exec() == QDialog::Accepted) {
createLetter(dialog.senderName(), dialog.senderAddress(),
dialog.orderItems(), dialog.sendOffers());
+ }
}
//! [16]