forked from qt-creator/qt-creator
Remove SessionFile::fileName
Only called in debug output, which is going to change later anyway Change-Id: I7dd6ec4a30a5d98eeab82cf46276c2811dc0207c Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
This commit is contained in:
@@ -89,7 +89,6 @@ public:
|
||||
bool load(const QString &fileName);
|
||||
bool save();
|
||||
|
||||
QString fileName() const;
|
||||
void setFileName(const QString &fileName);
|
||||
|
||||
QStringList failedProjectFileNames() const;
|
||||
@@ -287,11 +286,6 @@ bool SessionFile::save()
|
||||
return false;
|
||||
}
|
||||
|
||||
QString SessionFile::fileName() const
|
||||
{
|
||||
return m_fileName;
|
||||
}
|
||||
|
||||
void SessionFile::setFileName(const QString &fileName)
|
||||
{
|
||||
m_fileName = fileName;
|
||||
@@ -658,7 +652,7 @@ bool SessionManager::save()
|
||||
|
||||
if (!result) {
|
||||
QMessageBox::warning(0, tr("Error while saving session"),
|
||||
tr("Could not save session to file %1").arg(m_file->fileName()));
|
||||
tr("Could not save session to file %1").arg(sessionNameToFileName(m_sessionName)));
|
||||
}
|
||||
|
||||
if (debug)
|
||||
|
||||
Reference in New Issue
Block a user