diff options
author | Kevin Wright <kevin.wright@nokia.com> | 2010-07-27 08:29:37 (GMT) |
---|---|---|
committer | Kevin Wright <kevin.wright@nokia.com> | 2010-07-27 08:29:37 (GMT) |
commit | 2b76b4fb7f91cc266a160420d12f0581cd87539a (patch) | |
tree | c5c9b754f29c63295ab2c55ff8e1b837e02b2f8f /doc/src/snippets/code/src_gui_kernel_qapplication.cpp | |
parent | a98af1c7f1bba3c791d08e76e4896e48ea6ea019 (diff) | |
parent | 7b16419e61ea0ec2aa981b9600581f517addbb72 (diff) | |
download | Qt-2b76b4fb7f91cc266a160420d12f0581cd87539a.zip Qt-2b76b4fb7f91cc266a160420d12f0581cd87539a.tar.gz Qt-2b76b4fb7f91cc266a160420d12f0581cd87539a.tar.bz2 |
Merge branch '4.7' of http://git.scm.dev.nokia.troll.no/qt/oslo-staging-1 into 4.7
Diffstat (limited to 'doc/src/snippets/code/src_gui_kernel_qapplication.cpp')
-rw-r--r-- | doc/src/snippets/code/src_gui_kernel_qapplication.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/snippets/code/src_gui_kernel_qapplication.cpp b/doc/src/snippets/code/src_gui_kernel_qapplication.cpp index c93a25c..766b249 100644 --- a/doc/src/snippets/code/src_gui_kernel_qapplication.cpp +++ b/doc/src/snippets/code/src_gui_kernel_qapplication.cpp @@ -158,13 +158,13 @@ appname -session id //! [10] -foreach (QString command, mySession.restartCommand()) +foreach (const QString &command, mySession.restartCommand()) do_something(command); //! [10] //! [11] -foreach (QString command, mySession.discardCommand()) +foreach (const QString &command, mySession.discardCommand()) do_something(command); //! [11] |