summaryrefslogtreecommitdiffstats
path: root/examples/tutorials
diff options
context:
space:
mode:
authorDavid Boddie <dboddie@trolltech.com>2010-03-04 16:48:55 (GMT)
committerDavid Boddie <dboddie@trolltech.com>2010-03-04 16:48:55 (GMT)
commit5aca5d430a6e626e3899925bf92b75e4906b6cd8 (patch)
treefbb34eb10104b12f65fb998f4afcbb330b73a5c4 /examples/tutorials
parent449a5173075786c0d8ee28cac8d790145096cc49 (diff)
downloadQt-5aca5d430a6e626e3899925bf92b75e4906b6cd8.zip
Qt-5aca5d430a6e626e3899925bf92b75e4906b6cd8.tar.gz
Qt-5aca5d430a6e626e3899925bf92b75e4906b6cd8.tar.bz2
Doc: Fixed the row number for a widget in two parts of the tutorial.
Task-number: QTBUG-7152 Reviewed-by: Trust Me
Diffstat (limited to 'examples/tutorials')
-rw-r--r--examples/tutorials/addressbook/part3/addressbook.cpp2
-rw-r--r--examples/tutorials/addressbook/part4/addressbook.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/tutorials/addressbook/part3/addressbook.cpp b/examples/tutorials/addressbook/part3/addressbook.cpp
index 59b297a..5b39159 100644
--- a/examples/tutorials/addressbook/part3/addressbook.cpp
+++ b/examples/tutorials/addressbook/part3/addressbook.cpp
@@ -91,7 +91,7 @@ AddressBook::AddressBook(QWidget *parent)
mainLayout->addWidget(addressText, 1, 1);
mainLayout->addLayout(buttonLayout1, 1, 2);
//! [adding navigation layout]
- mainLayout->addLayout(buttonLayout2, 3, 1);
+ mainLayout->addLayout(buttonLayout2, 2, 1);
//! [adding navigation layout]
setLayout(mainLayout);
setWindowTitle(tr("Simple Address Book"));
diff --git a/examples/tutorials/addressbook/part4/addressbook.cpp b/examples/tutorials/addressbook/part4/addressbook.cpp
index e4e451f..a4bf459 100644
--- a/examples/tutorials/addressbook/part4/addressbook.cpp
+++ b/examples/tutorials/addressbook/part4/addressbook.cpp
@@ -100,7 +100,7 @@ AddressBook::AddressBook(QWidget *parent)
mainLayout->addWidget(addressLabel, 1, 0, Qt::AlignTop);
mainLayout->addWidget(addressText, 1, 1);
mainLayout->addLayout(buttonLayout1, 1, 2);
- mainLayout->addLayout(buttonLayout2, 3, 1);
+ mainLayout->addLayout(buttonLayout2, 2, 1);
setLayout(mainLayout);
setWindowTitle(tr("Simple Address Book"));