summaryrefslogtreecommitdiffstats
path: root/tests/auto/moc/task192552.h
diff options
context:
space:
mode:
authorShane Kearns <shane.kearns@accenture.com>2011-10-20 15:55:02 (GMT)
committerShane Kearns <shane.kearns@accenture.com>2011-10-27 10:49:19 (GMT)
commite5df3b4eeaf5943f5170dda781c3c589fa35a15a (patch)
tree798849b453b6ff7958abd772a24dda57517db84d /tests/auto/moc/task192552.h
parent19bd31fc84cc4916aef4835429fc4a55e85d0c28 (diff)
downloadQt-e5df3b4eeaf5943f5170dda781c3c589fa35a15a.zip
Qt-e5df3b4eeaf5943f5170dda781c3c589fa35a15a.tar.gz
Qt-e5df3b4eeaf5943f5170dda781c3c589fa35a15a.tar.bz2
QIODevice - disallow setTextMode when not open
Calling setTextMode() before open() would make the device appear to be already open and cause later errors. Added a qWarning and documentation update to prevent this API misuse Task-number: QTBUG-20905 Change-Id: I2e06cd8e79f4afcf27417ac0eae6ebef980a17aa Reviewed-by: Thiago Macieira (Intel) <thiago.macieira@intel.com> Reviewed-by: João Abecasis <joao.abecasis@nokia.com> (cherry picked from commit 29c30a20bab4c4ea892b95c08c71bb5f136bb82c)
Diffstat (limited to 'tests/auto/moc/task192552.h')
0 files changed, 0 insertions, 0 deletions