forked from qt-creator/qt-creator
IDocument: Rename defaultPath and suggestedFileName
To fallbackSaveAsPath and fallbackSaveAsFileName. That makes it clearer what they are for, and that they actually belong to each other. Change-Id: Ie5b83b9db77d39a7fe9e979cc8f22b7f5b9101a3 Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
This commit is contained in:
@@ -1195,7 +1195,7 @@ IEditor *CvsPlugin::showOutputInEditor(const QString& title, const QString &outp
|
||||
if (!e)
|
||||
return 0;
|
||||
s.replace(QLatin1Char(' '), QLatin1Char('_'));
|
||||
e->textDocument()->setSuggestedFileName(s);
|
||||
e->textDocument()->setFallbackSaveAsFileName(s);
|
||||
e->setForceReadOnly(true);
|
||||
if (!source.isEmpty())
|
||||
e->setSource(source);
|
||||
|
Reference in New Issue
Block a user