Wireshark-commits: [Wireshark-commits] master-2.0 292c955: Qt: Explicitly set the byte view painter
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 23 Oct 2015 23:26:19 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=292c9556018e06cced36291d3e2ad77467834a66
Submitter: Gerald Combs (gerald@xxxxxxxxxxxxx)
Changed: branch: master-2.0
Repository: wireshark

Commits:

292c955 by Gerald Combs (gerald@xxxxxxxxxxxxx):

    Qt: Explicitly set the byte view painter font.
    
    Set the painter font at the beginning of each paintEvent. It looks like
    we either aren't calling setFont at the right time or the
    QAbstractScrollArea viewport sometimes ignores its parent font.
    
    Bug: 11594
    Change-Id: Id4484f6b990be112bbc5728d5ad0e31a74a60201
    Reviewed-on: https://code.wireshark.org/review/11231
    Petri-Dish: Gerald Combs <gerald@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
    (cherry picked from commit 8e8db9b917e1ad9cdfeca0fd92bc864fbd94fd1e)
    Reviewed-on: https://code.wireshark.org/review/11233
    

Actions performed:

    from  e8451c9   On UN*X, use XDG_CONFIG_HOME/wireshark for configuration files.
    adds  292c955   Qt: Explicitly set the byte view painter font.


Summary of changes:
 ui/qt/byte_view_text.cpp |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)