forked from qt-creator/qt-creator
Fix that save as from "file was removed" dialog didn't provide filters
Also removes some code duplication. Change-Id: I4f4616717f2eb37a1c73accdfa81e6d0dae6809f Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -92,8 +92,7 @@ public:
|
||||
const QString &filter = QString(), QString *selectedFilter = 0);
|
||||
static QString getSaveFileNameWithExtension(const QString &title, const QString &pathIn,
|
||||
const QString &filter);
|
||||
static QString getSaveAsFileName(const IDocument *document, const QString &filter = QString(),
|
||||
QString *selectedFilter = 0);
|
||||
static QString getSaveAsFileName(const IDocument *document);
|
||||
|
||||
static bool saveAllModifiedDocumentsSilently(bool *canceled = 0,
|
||||
QList<IDocument *> *failedToClose = 0);
|
||||
|
||||
Reference in New Issue
Block a user