Wireshark-commits: [Wireshark-commits] master 0af5ef3: QCP: Fix retina label calculations.

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 8 Feb 2016 23:26:39 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=0af5ef3fce9f6eb72d4d45b4424a4f219f7cb976
Submitter: Gerald Combs (gerald@xxxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

0af5ef3 by Gerald Combs (gerald@xxxxxxxxxxxxx):

    QCP: Fix retina label calculations.
    
    The retina fixes in gb10bad1 and gb3f3d66 were incomplete and caused
    rendering problems in our axis labels. Handle the device pixel ratio in
    a couple of more places so that our axis rects are correctly sized.
    
    Add a switch (WS_ENABLE_DP_RATIO) to make it easy to turn scaling on and
    off.
    
    Change-Id: I633d94d633e0743be2a607c9a4cbb3409e9eed62
    Ping-Bug: 11710
    Reviewed-on: https://code.wireshark.org/review/13834
    Petri-Dish: Gerald Combs <gerald@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
    

Actions performed:

    from  0ae6a19   Revert "Lua: Remove WSLUA_ERROR on dissecting error"
    adds  0af5ef3   QCP: Fix retina label calculations.


Summary of changes:
 ui/qt/qcustomplot.cpp |   24 ++++++++++++++++--------
 1 file changed, 16 insertions(+), 8 deletions(-)