diff options
author | Benjamin Poulain <benjamin.poulain@nokia.com> | 2009-06-08 14:22:09 (GMT) |
---|---|---|
committer | Benjamin Poulain <benjamin.poulain@nokia.com> | 2009-06-08 14:22:09 (GMT) |
commit | c7296d97ae0dc92b2383dfd47e1f85aa570d5d0c (patch) | |
tree | 5fa8e0e0a6e19cce155ed87c6b65fa5728d5342c /examples/tutorials/addressbook-fr/part4 | |
parent | a825991ad68f4b999b3063db05e3cdb73fbee834 (diff) | |
download | Qt-c7296d97ae0dc92b2383dfd47e1f85aa570d5d0c.zip Qt-c7296d97ae0dc92b2383dfd47e1f85aa570d5d0c.tar.gz Qt-c7296d97ae0dc92b2383dfd47e1f85aa570d5d0c.tar.bz2 |
Sync the French tutorial with the English version
Reviewed-by: Pierre
Diffstat (limited to 'examples/tutorials/addressbook-fr/part4')
-rw-r--r-- | examples/tutorials/addressbook-fr/part4/addressbook.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/examples/tutorials/addressbook-fr/part4/addressbook.cpp b/examples/tutorials/addressbook-fr/part4/addressbook.cpp index 95def9c..06f8a09 100644 --- a/examples/tutorials/addressbook-fr/part4/addressbook.cpp +++ b/examples/tutorials/addressbook-fr/part4/addressbook.cpp @@ -135,7 +135,6 @@ void AddressBook::submitContact() if (name == "" || address == "") { QMessageBox::information(this, tr("Empty Field"), tr("Please enter a name and address.")); - return; } //! [submitContact() function part1] if (currentMode == AddingMode) { @@ -147,7 +146,6 @@ void AddressBook::submitContact() } else { QMessageBox::information(this, tr("Add Unsuccessful"), tr("Sorry, \"%1\" is already in your address book.").arg(name)); - return; } //! [submitContact() function part1] //! [submitContact() function part2] @@ -162,7 +160,6 @@ void AddressBook::submitContact() } else { QMessageBox::information(this, tr("Edit Unsuccessful"), tr("Sorry, \"%1\" is already in your address book.").arg(name)); - return; } } else if (oldAddress != address) { QMessageBox::information(this, tr("Edit Successful"), |