diff options
author | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2015-09-24 08:42:06 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2015-09-24 12:35:01 +0000 |
commit | bf2c9fd2fdff2760f3798fd1584f2da330266c46 (patch) | |
tree | 4ff23a478b1937ecc9c141cfc0f74fe833d55223 /examples/opengl/hellogl2/glwidget.cpp | |
parent | e87df57abfdd2df821bfed54a5dc3f2380b36486 (diff) |
Guard against empty keys in QPlatformInputContextFactory::create().
The code relied on QStringList::split() returning a list
consisting of one empty string when passing an enpty string.
Add a check to prevent the plugin loader from trying to load
in this case.
Change-Id: Iadb418d32fdea1d472d6c00726ad039b4afbf409
Reviewed-by: Andy Shaw <andy.shaw@theqtcompany.com>
Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
Diffstat (limited to 'examples/opengl/hellogl2/glwidget.cpp')
0 files changed, 0 insertions, 0 deletions