summaryrefslogtreecommitdiff
path: root/examples/tutorials/addressbook
diff options
context:
space:
mode:
authorDavid Boddie <dboddie@trolltech.com>2010-03-04 17:48:55 +0100
committerDavid Boddie <dboddie@trolltech.com>2010-03-04 17:48:55 +0100
commit5aca5d430a6e626e3899925bf92b75e4906b6cd8 (patch)
treefbb34eb10104b12f65fb998f4afcbb330b73a5c4 /examples/tutorials/addressbook
parent449a5173075786c0d8ee28cac8d790145096cc49 (diff)
downloadqt4-tools-5aca5d430a6e626e3899925bf92b75e4906b6cd8.tar.gz
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/addressbook')
-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 59b297a27c..5b391590f9 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 e4e451f193..a4bf4593f8 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"));