summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/qtablewidget-resizing/mainwindow.cpp
diff options
context:
space:
mode:
authorJason McDonald <jason.mcdonald@nokia.com>2011-05-12 17:23:14 +1000
committerJason McDonald <jason.mcdonald@nokia.com>2011-05-13 10:42:06 +1000
commitd9119535a2e3fcb977998ab1f7006f8a15b5a140 (patch)
treef8b55075e929f99543e4325f519987fcd6218061 /doc/src/snippets/qtablewidget-resizing/mainwindow.cpp
parente40443f7dfaa77e1295390385ef76f9b4e87c59b (diff)
Make error checking in QSignalSpy consistent
QSignalSpy's constructor failed gracefully for some problems with the parameters, but not for null parameters, for which there was only a Q_ASSERT. This commit makes the handling of null parameters consistent with the handling of other errors -- output a meaningful error message with qWarning() and return, so that isValid() will subsequently return false. Change-Id: I7f5677a4c10185e30403ce3e12a022de8c13bc1c Task-number: QTBUG-14283 Reviewed-by: Rohan McGovern
Diffstat (limited to 'doc/src/snippets/qtablewidget-resizing/mainwindow.cpp')
0 files changed, 0 insertions, 0 deletions