Wireshark-commits: [Wireshark-commits] master a442fd5: Set the file path for a main window if it's

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

Commits:

a442fd5 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>
    

Actions performed:

    from  9541945   Just use CaptureFile::fileTitle() in MainWindow::setTitlebarForCaptureFile().
    adds  a442fd5   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(-)