diff options
author | Geir Vattekar <geir.vattekar@nokia.com> | 2010-06-17 07:21:05 (GMT) |
---|---|---|
committer | Geir Vattekar <geir.vattekar@nokia.com> | 2010-06-17 07:21:05 (GMT) |
commit | f39c9f38276add6ead9bb5d380cc2b32b0fa3390 (patch) | |
tree | 2627db65ca9cddb432232ee21116afea73da07a4 /examples/tutorials/addressbook/part6 | |
parent | 594900e68f8e264facbe8c75eaf2b857240bc072 (diff) | |
parent | fac227f609e544f8f55aca8447b4328d6534407a (diff) | |
download | Qt-f39c9f38276add6ead9bb5d380cc2b32b0fa3390.zip Qt-f39c9f38276add6ead9bb5d380cc2b32b0fa3390.tar.gz Qt-f39c9f38276add6ead9bb5d380cc2b32b0fa3390.tar.bz2 |
Merge branch '4.7' of git@scm.dev.nokia.troll.no:qt/oslo-staging-2 into 4.7
Diffstat (limited to 'examples/tutorials/addressbook/part6')
-rw-r--r-- | examples/tutorials/addressbook/part6/addressbook.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/tutorials/addressbook/part6/addressbook.cpp b/examples/tutorials/addressbook/part6/addressbook.cpp index fc41190..724971c 100644 --- a/examples/tutorials/addressbook/part6/addressbook.cpp +++ b/examples/tutorials/addressbook/part6/addressbook.cpp @@ -147,6 +147,7 @@ void AddressBook::submitContact() if (name == "" || address == "") { QMessageBox::information(this, tr("Empty Field"), tr("Please enter a name and address.")); + return; } if (currentMode == AddingMode) { |