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 Nov 27, 2019
1 parent e38b6ef commit 5c967de
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
Expand Up @@ -346,8 +346,8 @@ void FileBrowserWindowWidget::goToOtherItem(QStringList &pItems,
// Go to the previous/next item and move the last item from our list of
// items to our list of other items

// First, we must stop keeping track of the change of item otherwise it's
// going to mess things up
// First, we must stop tracking the change of item otherwise it's going to
// mess things up

disconnect(selectionModel(), &QItemSelectionModel::currentChanged,
this, &FileBrowserWindowWidget::itemChanged);
Expand Down
Expand Up @@ -890,8 +890,8 @@ void SimulationExperimentViewSimulationWidget::initialize(bool pReloadingView)
// CellML file)...

mContentsWidget->setUpdatesEnabled(false);
// Stop keeping track of certain things (so that updatePlot() doesn't
// get called unnecessarily)
// Stop tracking certain things (so that updatePlot() doesn't get called
// unnecessarily)
// Note: see the corresponding code towards the end of this method...

SimulationExperimentViewInformationWidget *informationWidget = mContentsWidget->informationWidget();
Expand Down Expand Up @@ -3003,7 +3003,7 @@ void SimulationExperimentViewSimulationWidget::simulationDone(qint64 pElapsedTim

mContentsWidget->informationWidget()->parametersWidget()->updateParameters(mSimulation->currentPoint());

// Stop keeping track of our simulation progress
// Stop tracking our simulation progress

mProgress = -1;
}
Expand All @@ -3021,8 +3021,7 @@ void SimulationExperimentViewSimulationWidget::resetProgressBar()

void SimulationExperimentViewSimulationWidget::resetFileTabIcon()
{
// Stop tracking our simulation progress and let people know that our file
// tab icon should be reset
// Let people know that our file tab icon should be reset

static const QIcon NoIcon = QIcon();

Expand Down

0 comments on commit 5c967de

Please sign in to comment.