diff options
Diffstat (limited to 'examples/tutorials/addressbook-fr/part6/main.cpp')
-rw-r--r-- | examples/tutorials/addressbook-fr/part6/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/tutorials/addressbook-fr/part6/main.cpp b/examples/tutorials/addressbook-fr/part6/main.cpp index b25d656..46f6f03 100644 --- a/examples/tutorials/addressbook-fr/part6/main.cpp +++ b/examples/tutorials/addressbook-fr/part6/main.cpp @@ -46,8 +46,8 @@ int main(int argc, char *argv[]) { QApplication app(argc, argv); - AddressBook *addressBook = new AddressBook; - addressBook->show(); + AddressBook addressBook; + addressBook.show(); return app.exec(); } |