diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2010-01-26 08:54:09 (GMT) |
---|---|---|
committer | Jason McDonald <jason.mcdonald@nokia.com> | 2010-01-29 11:25:45 (GMT) |
commit | 0b9f567dec0e31b83ff8c898fe77757bbfb6b988 (patch) | |
tree | b3b737f7a0db17079ed94586f77a4f8514911009 /doc/src/snippets/code/src_gui_widgets_qcheckbox.cpp | |
parent | e7fef10906d15afa270243535865aadd94b47acf (diff) | |
download | Qt-0b9f567dec0e31b83ff8c898fe77757bbfb6b988.zip Qt-0b9f567dec0e31b83ff8c898fe77757bbfb6b988.tar.gz Qt-0b9f567dec0e31b83ff8c898fe77757bbfb6b988.tar.bz2 |
Don't use QDebug references. Instead, pass by value.
If you use refs, then you can't use this operator as the first
argument, since qDebug() returns QDebug by-value (an rvalue
temporary). That cannot be bound to a non-const ref.
Task-number: QTBUG-7593
(cherry picked from commit 0c822ea63a8b2b0c32c68a49de81e0c02548f059)
Diffstat (limited to 'doc/src/snippets/code/src_gui_widgets_qcheckbox.cpp')
0 files changed, 0 insertions, 0 deletions