diff options
author | Gerald Combs <gerald@wireshark.org> | 2019-06-21 15:50:46 -0700 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2019-06-23 06:14:16 +0000 |
commit | 737b7eb6c6e0c0b06d512ed093d3de94ef698f35 (patch) | |
tree | eab8bc846c374e2f5eb47a4ef37cc3c6366e2250 /wspcap.h | |
parent | a9ed94356d1b0cb149351e063014d3bdb94c0cd7 (diff) |
Qt: Handle ApplicationPaletteChange events in the welcome page.
Update our various welcome page style sheets when we receive an
ApplicationPaletteChange event.
It looks like ApplicationPaletteChange is the proper way to detect a
system-wide theme change, since we can infinitely recurse if we hold
things wrong inside a regular PaletteChange event (I'm guessing setting
CSS background and foreground colors were the culprits in this case).
Switch from PaletteChange to ApplicationPaletteChange everywhere.
Ping-Bug: 15511
Change-Id: I6e7aa627d9ca1d1d3872ab31620ea5c579061191
Reviewed-on: https://code.wireshark.org/review/33703
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>
Diffstat (limited to 'wspcap.h')
0 files changed, 0 insertions, 0 deletions