Wireshark-commits: [Wireshark-commits] master-2.6 bdca768: Set the file path for a main window if i

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 06 Jul 2018 00:52:42 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=bdca768ac6528e842429909c5a33ffe689df1223
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-2.6
Repository: wireshark

Commits:

bdca768 by Guy Harris (guy@xxxxxxxxxxxx):

    Set the file path for a main window if it's not a temporary file.
    
    That's needed to support the "proxy icon", so it can be dragged.
    
    Change-Id: I1ad209cd43a2a6df9c52d076f6513780b0ac51be
    Reviewed-on: https://code.wireshark.org/review/28587
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    (cherry picked from commit a442fd512bcf46e03ed4b8b40d756a2f17215fe6)
    Reviewed-on: https://code.wireshark.org/review/28627
    

Actions performed:

    from  d98d413   Just use CaptureFile::fileTitle() in MainWindow::setTitlebarForCaptureFile().
    adds  bdca768   Set the file path for a main window if it's not a temporary file.


Summary of changes:
 ui/qt/capture_file.cpp | 60 ++++++++++++++++++++++++++++++++------------------
 ui/qt/capture_file.h   | 20 +++++++++++------
 ui/qt/main_window.cpp  | 11 +++++++++
 3 files changed, 63 insertions(+), 28 deletions(-)