Wireshark-commits: [Wireshark-commits] master 4df2fcb: Qt: Replace $HOME with ~ in window title %F

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 11 Sep 2018 09:20:03 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=4df2fcb0eef156b40bd3ffd37df0da2885293094
Submitter: "Stig Bjørlykke <stig@xxxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

4df2fcb by Stig Bjørlykke (stig@xxxxxxxxxxxxx):

    Qt: Replace $HOME with ~ in window title %F variable
    
    Replace $HOME with ~ in window title %F variable.
    Optimize code to check if variable is used before doing replacement.
    
    Change-Id: I95ef8505e50379d98fdb1661e09394d1ded7ecca
    Reviewed-on: https://code.wireshark.org/review/29597
    Petri-Dish: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
    

Actions performed:

    from  f6b8bc3   Make versions of DIAG_OFF() and DIAG_ON() for GCC 4.2 through 4.5.
     add  4df2fcb   Qt: Replace $HOME with ~ in window title %F variable


Summary of changes:
 ui/qt/main_window.cpp | 45 ++++++++++++++++++++++++++++++---------------
 1 file changed, 30 insertions(+), 15 deletions(-)