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 Oct 29, 2017
1 parent 2f5cc31 commit 9d9eb91
Showing 1 changed file with 5 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -625,8 +625,7 @@ void SimulationExperimentViewWidget::simulationHeaderSectionResized(const int &p

// Keep track of the new column width

if (qobject_cast<QHeaderView *>(sender())->isVisible())
mSimulationColumnWidths[pIndex] = pNewSize;
mSimulationColumnWidths[pIndex] = pNewSize;
}

//==============================================================================
Expand All @@ -639,8 +638,7 @@ void SimulationExperimentViewWidget::solversHeaderSectionResized(const int &pInd

// Keep track of the new column width

if (qobject_cast<QHeaderView *>(sender())->isVisible())
mSolversColumnWidths[pIndex] = pNewSize;
mSolversColumnWidths[pIndex] = pNewSize;
}

//==============================================================================
Expand All @@ -653,8 +651,7 @@ void SimulationExperimentViewWidget::graphPanelHeaderSectionResized(const int &p

// Keep track of the new column width

if (qobject_cast<SimulationExperimentViewInformationGraphPanelAndGraphsWidget *>(sender())->isVisible())
mGraphPanelColumnWidths[pIndex] = pNewSize;
mGraphPanelColumnWidths[pIndex] = pNewSize;
}

//==============================================================================
Expand All @@ -667,8 +664,7 @@ void SimulationExperimentViewWidget::graphsHeaderSectionResized(const int &pInde

// Keep track of the new column width

if (qobject_cast<SimulationExperimentViewInformationGraphPanelAndGraphsWidget *>(sender())->isVisible())
mGraphsColumnWidths[pIndex] = pNewSize;
mGraphsColumnWidths[pIndex] = pNewSize;
}

//==============================================================================
Expand All @@ -681,8 +677,7 @@ void SimulationExperimentViewWidget::parametersHeaderSectionResized(const int &p

// Keep track of the new column width

if (qobject_cast<QHeaderView *>(sender())->isVisible())
mParametersColumnWidths[pIndex] = pNewSize;
mParametersColumnWidths[pIndex] = pNewSize;
}

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

0 comments on commit 9d9eb91

Please sign in to comment.