summaryrefslogtreecommitdiffstats
path: root/tests/auto/qlineedit
diff options
context:
space:
mode:
authorMarius Storm-Olsen <marius.storm-olsen@nokia.com>2009-11-26 13:59:09 (GMT)
committerMarius Storm-Olsen <marius.storm-olsen@nokia.com>2009-11-26 13:59:09 (GMT)
commit0cf58948ac9bb9c35835e18a00737c362b08f3c7 (patch)
treebbb0b76f71df2d0320d1b8559c7d8537a54a4c5f /tests/auto/qlineedit
parent2f00c76081f261e6f357c279206a6a18fdadc472 (diff)
downloadQt-0cf58948ac9bb9c35835e18a00737c362b08f3c7.zip
Qt-0cf58948ac9bb9c35835e18a00737c362b08f3c7.tar.gz
Qt-0cf58948ac9bb9c35835e18a00737c362b08f3c7.tar.bz2
Avoid using return value from a temporary object
The temporary object goes away before the next line is executed, so the pointer to the const data is invalid. Just put it all on one line, and we're ok. Reviewed-by: Brad
Diffstat (limited to 'tests/auto/qlineedit')
0 files changed, 0 insertions, 0 deletions