Skip to content

Commit

Permalink
Some minor cleaning up.
Browse files Browse the repository at this point in the history
  • Loading branch information
agarny committed Dec 19, 2017
1 parent 824c077 commit af4e01b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
20 changes: 10 additions & 10 deletions src/plugins/support/StandardSupport/src/standardfilemanager.cpp
Expand Up @@ -132,6 +132,16 @@ void StandardFileManager::unmanage(const QString &pFileName)

//==============================================================================

void StandardFileManager::save(const QString &pFileName)
{
// The file has been (modified and) saved, so we need to reload it
Q_UNUSED(pFileName);

//---ISSUE1491--- reload(pFileName);
}

//==============================================================================

void StandardFileManager::reload(const QString &pFileName)
{
// The file is to be reloaded (either because it has been changed or because
Expand Down Expand Up @@ -189,16 +199,6 @@ void StandardFileManager::rename(const QString &pOldFileName,

//==============================================================================

void StandardFileManager::save(const QString &pFileName)
{
// The file has been (modified and) saved, so we need to reload it
Q_UNUSED(pFileName);

//---ISSUE1491--- reload(pFileName);
}

//==============================================================================

} // namespace StandardSupport
} // namespace OpenCOR

Expand Down
Expand Up @@ -67,10 +67,9 @@ private slots:
void manage(const QString &pFileName);
void unmanage(const QString &pFileName);

void save(const QString &pFileName);
void reload(const QString &pFileName);
void rename(const QString &pOldFileName, const QString &pNewFileName);

void save(const QString &pFileName);
};

//==============================================================================
Expand Down

0 comments on commit af4e01b

Please sign in to comment.