Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-commits: [Wireshark-commits] master c055d32: Ensure that fixFilenameExtension() is used o

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 19 Nov 2018 22:28:49 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=c055d32d101b01352b4754d09a2f52c8798c0b52
Submitter: "Guy Harris <guy@xxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

c055d32 by Guy Harris (guy@xxxxxxxxxxxx):

    Ensure that fixFilenameExtension() is used only when writing a file.
    
    It *should* never happen, but just make sure of that by calling it only
    for "open for writing" ("save") dialogs.
    
    Change-Id: I1813f31537c0aa4efdf08c1622db9cb9e7f5ae83
    Reviewed-on: https://code.wireshark.org/review/30726
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  3653e23   Convert enum increment into int increment
     add  c055d32   Ensure that fixFilenameExtension() is used only when writing a file.


Summary of changes:
 ui/qt/capture_file_dialog.cpp | 22 ++++++++++++++++------
 1 file changed, 16 insertions(+), 6 deletions(-)