Fix packet list font zooming.

Change-Id: I376fc3b41e9ebbe1353527d8d3bbf8d4b86cc29a
Reviewed-on: https://code.wireshark.org/review/8463
Reviewed-by: Gerald Combs <gerald@wireshark.org>
This commit is contained in:
Gerald Combs 2015-05-14 10:25:56 -07:00
parent 97f1fd3626
commit 294706a1bf
1 changed files with 2 additions and 2 deletions

View File

@ -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...