aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2015-05-14 10:25:56 -0700
committerGerald Combs <gerald@wireshark.org>2015-05-14 18:04:09 +0000
commit294706a1bfb8c9d1404ecd21bf5a64db19ad99cb (patch)
tree87d11f3ae149f2acfe0508f86fa2e71eef080b81 /ui
parent97f1fd3626072e9ac9b02b3af7e543d23b927e47 (diff)
Fix packet list font zooming.
Change-Id: I376fc3b41e9ebbe1353527d8d3bbf8d4b86cc29a Reviewed-on: https://code.wireshark.org/review/8463 Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui')
-rw-r--r--ui/qt/packet_list.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/qt/packet_list.cpp b/ui/qt/packet_list.cpp
index 360cbc7ef2..9f24492cda 100644
--- a/ui/qt/packet_list.cpp
+++ b/ui/qt/packet_list.cpp
@@ -937,8 +937,8 @@ void PacketList::setCaptureFile(capture_file *cf)
void PacketList::setMonospaceFont(const QFont &mono_font)
{
- // Don't call setFont here. It changes the header font on Windows and
- // Linux.
+ setFont(mono_font);
+ header()->setFont(wsApp->font());
// qtreeview.cpp does something similar in Qt 5 so this *should* be
// safe...