diff options
author | Leander Beernaert <leander.beernaert@qt.io> | 2019-07-23 11:51:12 +0200 |
---|---|---|
committer | Leander Beernaert <leander.beernaert@qt.io> | 2019-08-12 08:59:46 +0200 |
commit | 3eedb2fbd08ab73bfe3e9a8456f2c5228637b52a (patch) | |
tree | 50c9d3fbe280afe8767078706ce0c8e395d58226 /src/gui/doc/snippets/picture/picture.cpp | |
parent | 6132260da394a9627947f0fe6a279c20863b6ad2 (diff) |
Fix crash when no plugins are specified
In the case that no plugins are specified, the above code would assert
since we are not checking whether there is a value in the variable name.
Change-Id: Ia5922a6936aff179ca19fdd10e335133cd30daf4
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/gui/doc/snippets/picture/picture.cpp')
0 files changed, 0 insertions, 0 deletions