summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/sqldatabase/sqldatabase.cpp
diff options
context:
space:
mode:
authorJiang Jiang <jiang.jiang@nokia.com>2011-03-30 12:55:34 (GMT)
committerDenis Dzyubenko <denis.dzyubenko@nokia.com>2011-04-01 09:17:50 (GMT)
commita150eddcf1ef46edf3ad7e72234316e087b0aec4 (patch)
treed85aa14e83c2e8f9473bdc0a7f97e90ad2ea840f /doc/src/snippets/sqldatabase/sqldatabase.cpp
parent467fdd578e6787497f2b702dca0cf38afdc0e6de (diff)
downloadQt-a150eddcf1ef46edf3ad7e72234316e087b0aec4.zip
Qt-a150eddcf1ef46edf3ad7e72234316e087b0aec4.tar.gz
Qt-a150eddcf1ef46edf3ad7e72234316e087b0aec4.tar.bz2
Fix horizontal centered text drawing without word wrap
In this case we can't use line width to align the text, we have to use the rectangle width given in QPainter::drawText for alignment instead. Reviewed-by: Eskil (cherry picked from commit b92a31da01ee50fed4b10282e79f812167faf659)
Diffstat (limited to 'doc/src/snippets/sqldatabase/sqldatabase.cpp')
0 files changed, 0 insertions, 0 deletions