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 Mar 29, 2018
1 parent 0dbeb36 commit a6e37f5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1385,13 +1385,11 @@ void PmrWorkspacesWindowWidget::duplicateCloneMessage(const QString &pUrl,

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

void PmrWorkspacesWindowWidget::refreshWorkspaces(const OpenCOR::PMRSupport::PmrWorkspaces &pWorkspaces)
void PmrWorkspacesWindowWidget::refreshWorkspaces()
{
// Refresh our workspaces

PMRSupport::PmrWorkspaces workspaces = pWorkspaces.isEmpty()?
PMRSupport::PmrWorkspaceManager::instance()->workspaces():
pWorkspaces;
PMRSupport::PmrWorkspaces workspaces = PMRSupport::PmrWorkspaceManager::instance()->workspaces();
int workspacesCount = workspaces.count();
int workspaceNb = 0;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ private slots:

void resizeTreeViewToContents();

void refreshWorkspaces(const OpenCOR::PMRSupport::PmrWorkspaces &pWorkspaces = OpenCOR::PMRSupport::PmrWorkspaces());
void refreshWorkspaces();

void workspaceCloned(OpenCOR::PMRSupport::PmrWorkspace *pWorkspace);
void workspaceUncloned(OpenCOR::PMRSupport::PmrWorkspace *pWorkspace);
Expand Down

0 comments on commit a6e37f5

Please sign in to comment.