Qt: Optimized setColumnVisibility() usage
authorStig Bjørlykke <stig@bjorlykke.org>
Sun, 18 Sep 2016 18:10:14 +0000 (20:10 +0200)
committerStig Bjørlykke <stig@bjorlykke.org>
Thu, 22 Sep 2016 07:59:43 +0000 (07:59 +0000)
commit5b4ca98a5410d9c33be2aa54490ba57239ae73a7
tree041c1abb69e8a4e55088b29b6bb5b38eb75a7f5e
parentb9d493f8de1cadfce591cdc20613c3ee8896c4cf
Qt: Optimized setColumnVisibility() usage

Setting column visibility (show/hide columns) is only needed when
columns has changed and when show/hide from column popup menu.

Change-Id: Ia33d6fccab44443c453921fc2629bbf1d22efd01
Reviewed-on: https://code.wireshark.org/review/17781
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
ui/qt/packet_list.cpp
ui/qt/packet_list.h