# HG changeset patch # User Chris Cannam # Date 1402595572 -3600 # Node ID 9c272d39c3e3124c64173404db9ecac3ddccde8e # Parent bb1f2a20f7dbc860f7e9778c87315be3c2817b52 Some tidying & fixing compiler warnings diff -r bb1f2a20f7db -r 9c272d39c3e3 widgets/InteractiveFileFinder.cpp --- a/widgets/InteractiveFileFinder.cpp Thu Jun 12 15:03:21 2014 +0100 +++ b/widgets/InteractiveFileFinder.cpp Thu Jun 12 18:52:52 2014 +0100 @@ -217,7 +217,8 @@ } QString -InteractiveFileFinder::getSaveFileName(FileType type, QString fallbackLocation) +InteractiveFileFinder::getSaveFileName(FileType type, + QString fallbackLocation) { QString settingsKeyStub; QString lastPath = fallbackLocation; @@ -312,7 +313,6 @@ dialog.setNameFilters(filters); dialog.setWindowTitle(title); dialog.setDirectory(lastPath); - dialog.setAcceptMode(QFileDialog::AcceptSave); dialog.setFileMode(QFileDialog::AnyFile); dialog.setConfirmOverwrite(false); // we'll do that