diff options
author | Joerg Bornemann <joerg.bornemann@trolltech.com> | 2009-05-28 12:57:20 (GMT) |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@trolltech.com> | 2009-05-28 15:17:09 (GMT) |
commit | 89029a54cb3adfb54736a6aafaea9ec535407592 (patch) | |
tree | efc09d34681cee26acafaedc6b54591c9f048736 /examples/dialogs/sipdialog/main.cpp | |
parent | 09ae2f274b417bab4abee8900c5ad0a8f01d65b1 (diff) | |
download | Qt-89029a54cb3adfb54736a6aafaea9ec535407592.zip Qt-89029a54cb3adfb54736a6aafaea9ec535407592.tar.gz Qt-89029a54cb3adfb54736a6aafaea9ec535407592.tar.bz2 |
cosmetic changes to examples/dialogs/sipdialog
main function has a return value now.
On the HTC this example didn't work, because this stupid thing sends
two resize events, if the SIP is opened (and only one if it is closed).
Reviewed-by: mauricek
Diffstat (limited to 'examples/dialogs/sipdialog/main.cpp')
-rw-r--r-- | examples/dialogs/sipdialog/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/dialogs/sipdialog/main.cpp b/examples/dialogs/sipdialog/main.cpp index 5fcbfd8..fec6de2 100644 --- a/examples/dialogs/sipdialog/main.cpp +++ b/examples/dialogs/sipdialog/main.cpp @@ -48,6 +48,6 @@ int main(int argc, char *argv[]) { QApplication app(argc, argv); Dialog dialog; - dialog.exec(); + return dialog.exec(); } //! [main() function] |