Qt: Add some null checks.
authorGerald Combs <gerald@wireshark.org>
Wed, 11 Dec 2019 01:03:34 +0000 (17:03 -0800)
committerAlexis La Goutte <alexis.lagoutte@gmail.com>
Wed, 11 Dec 2019 05:12:17 +0000 (05:12 +0000)
commit90e80ac6af00cd49823b82e7fcc67dff088eff4b
treed7ec8b7f2b59703f3417267cda2cab0ea5b383ae
parent3e0acea60488ac51ff9f181266b7e4f5928248d3
Qt: Add some null checks.

Add some null checks identified by scan-build. Switch some dynamic_casts
to qobject_casts.

Change-Id: I2b97ee8cb71db4fc883b4081568f9a5db8af85b3
Reviewed-on: https://code.wireshark.org/review/35403
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
ui/qt/interface_toolbar.cpp
ui/qt/models/column_list_model.cpp