diff options
| author | Jason McDonald <jason.mcdonald@nokia.com> | 2011-05-05 14:04:16 +1000 |
|---|---|---|
| committer | Rohan McGovern <rohan.mcgovern@nokia.com> | 2011-05-18 10:46:45 +1000 |
| commit | 16c866533b887dff4067484f05be02377d42955b (patch) | |
| tree | 7166044d6ec33b8a0c05922859cc2dea6d9333c0 /doc/src/snippets/code/doc_src_qt4-mainwindow.cpp | |
| parent | 3fee47be4c7a6bcb292a41364da4846b6c74a9cf (diff) | |
Remove Q_ASSERT from modeltest
Report an informative fatal error if passed a null model, rather than
aborting in a debug build and giving a bunch of signal connection errors
in a release build.
Change-Id: Ia240e741b9d6ec03fd5ed3a14cf4fa44b55af911
Task-number: QTBUG-17582
Reviewed-by: Rohan McGovern
(cherry picked from commit 841cc610df61a266ebcca2bfef2542a7d4fea68d)
Diffstat (limited to 'doc/src/snippets/code/doc_src_qt4-mainwindow.cpp')
0 files changed, 0 insertions, 0 deletions
