diff options
| author | Marco Martin <mart@kde.org> | 2016-01-11 14:57:56 +0100 |
|---|---|---|
| committer | Marco Martin <mart@kde.org> | 2016-01-12 16:34:22 +0000 |
| commit | fb0e8833fde306eebc31b78722d8f0178b817eb7 (patch) | |
| tree | 5a0a6c1d4ef3f2392d3615beb0d93fd862455bd7 /examples/quick/controls/texteditor/src/documenthandler.cpp | |
| parent | 73bf08d2cdabb8499acf9c63b942f8df8ac0c7c1 (diff) | |
Check for __style existence before accessing it
Since __style is loaded by a Loader, very early in initialization, it
may still be null. so check for its existence before accessing it.
When it will be fully loaded the property binding will cause a
reevaluation with the proper values.
This fixes __wheelScrollLines never being loaded from the style.
Change-Id: I5967265a4d31e1be2c972daa79b9389fecc25933
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
Diffstat (limited to 'examples/quick/controls/texteditor/src/documenthandler.cpp')
0 files changed, 0 insertions, 0 deletions
