forked from qt-creator/qt-creator
add auto-saving of modified editors
Task-number: QTCREATORBUG-2847
This commit is contained in:
@@ -48,10 +48,11 @@ TaskFile::TaskFile(QObject *parent) : Core::IFile(parent),
|
||||
TaskFile::~TaskFile()
|
||||
{ }
|
||||
|
||||
bool TaskFile::save(QString *errorString, const QString &fileName)
|
||||
bool TaskFile::save(QString *errorString, const QString &fileName, bool autoSave)
|
||||
{
|
||||
Q_UNUSED(errorString)
|
||||
Q_UNUSED(fileName);
|
||||
Q_UNUSED(autoSave)
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
@@ -48,7 +48,7 @@ public:
|
||||
TaskFile(QObject *parent);
|
||||
~TaskFile();
|
||||
|
||||
bool save(QString *errorString, const QString &fileName = QString());
|
||||
bool save(QString *errorString, const QString &fileName, bool autoSave);
|
||||
QString fileName() const;
|
||||
|
||||
QString defaultPath() const;
|
||||
|
||||
Reference in New Issue
Block a user