summaryrefslogtreecommitdiffstats
path: root/examples/quickcontrols/controls/filesystembrowser/main.cpp
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@qt.io>2016-07-19 13:17:29 +0200
committerMitch Curtis <mitch.curtis@qt.io>2016-08-02 07:16:54 +0000
commit756a169e2530987f1b875589d196877e93704858 (patch)
tree100e459838731ca8475f4e0cf40f34549730da23 /examples/quickcontrols/controls/filesystembrowser/main.cpp
parent84a26f223b220a444dec2b43fffc71dab7e00d1d (diff)
texteditor example: check if document is null before using it
This hasn't been an issue so far probably because those properties were accessed after m_doc had been set. However, adding some debug text can trigger a crash: Text { text: "document.cursorPosition=" + document.cursorPosition } Change-Id: Ib468815cdc0b103a2384457ab937cc3b764b96c8 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'examples/quickcontrols/controls/filesystembrowser/main.cpp')
0 files changed, 0 insertions, 0 deletions