Wireshark-commits: [Wireshark-commits] master 9541945: Just use CaptureFile::fileTitle() in MainWin
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 03 Jul 2018 22:52:46 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=9541945aa217a43d285e7b44b6c4516253f716a1
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

9541945 by Guy Harris (guy@xxxxxxxxxxxx):

    Just use CaptureFile::fileTitle() in MainWindow::setTitlebarForCaptureFile().
    
    It now does the heavy lifting, so MainWindow::setTitlebarForCaptureFile()
    doesn't have to duplicate it.
    
    Change-Id: I97ded85306e625b2c67c3fde62a636ec6818a6f5
    Reviewed-on: https://code.wireshark.org/review/28586
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  d76db1d   CaptureFile.fileTitle() is for display, not for file name processing.
    adds  9541945   Just use CaptureFile::fileTitle() in MainWindow::setTitlebarForCaptureFile().


Summary of changes:
 ui/qt/main_window.cpp | 38 +-------------------------------------
 1 file changed, 1 insertion(+), 37 deletions(-)