Wireshark-commits: [Wireshark-commits] master-2.6 d98d413: Just use CaptureFile::fileTitle() in Mai

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

Commits:

d98d413 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>
    (cherry picked from commit 9541945aa217a43d285e7b44b6c4516253f716a1)
    Reviewed-on: https://code.wireshark.org/review/28626
    

Actions performed:

    from  2345492   Don't show temporary file names in title bars.
    adds  d98d413   Just use CaptureFile::fileTitle() in MainWindow::setTitlebarForCaptureFile().


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