Wireshark-commits: [Wireshark-commits] master 400f748: Qt: Add some window title variables

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 10 Sep 2018 19:51:01 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=400f748b04da6dfaf26404aa6dabfec11b3c7607
Submitter: "Stig Bjørlykke <stig@xxxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

400f748 by Stig Bjørlykke (stig@xxxxxxxxxxxxx):

    Qt: Add some window title variables
    
    Add some new variables to be used in custom window title.
    
    %F = file path of the capture file
    %S = a conditional separator (" - ") that only shows when surrounded
         by variables with values or static text
    
    Change-Id: I20a60a3018cc86236f4991030eadb7f51681cc32
    Reviewed-on: https://code.wireshark.org/review/29534
    Petri-Dish: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
    

Actions performed:

    from  87e97a8   Try directly using _Pragma if building on/for macOS.
     add  400f748   Qt: Add some window title variables


Summary of changes:
 epan/prefs.c          | 12 ++++++++++--
 ui/qt/main_window.cpp | 24 ++++++++++++++++++++++--
 2 files changed, 32 insertions(+), 4 deletions(-)