Skip to content

Commit

Permalink
Some minor cleaning up (#1592).
Browse files Browse the repository at this point in the history
  • Loading branch information
agarny committed Apr 3, 2018
1 parent 3608009 commit 9f15ced
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
Expand Up @@ -55,8 +55,8 @@ CellmlEditingViewWidget::CellmlEditingViewWidget(const QString &pContents,

// Keep track of our movement

connect(this, &CellmlEditingViewWidget::splitterMoved,
this, &CellmlEditingViewWidget::updateSizes);
connect(this, &QSplitter::splitterMoved,
this, &CellmlEditingViewWidget::splitterMoved);

// Create our MathML viewer, editor and editor list widgets

Expand Down Expand Up @@ -206,7 +206,7 @@ QIntList CellmlEditingViewWidget::editingWidgetSizes() const

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

void CellmlEditingViewWidget::updateSizes()
void CellmlEditingViewWidget::splitterMoved()
{
// We have moved, so keep track of our new sizes

Expand Down
Expand Up @@ -90,7 +90,7 @@ class CELLMLEDITINGVIEW_EXPORT CellmlEditingViewWidget : public Core::SplitterWi
QIntList mEditingWidgetSizes;

private slots:
void updateSizes();
void splitterMoved();
void itemRequested(OpenCOR::EditorWidget::EditorListItem *pItem);
};

Expand Down
Expand Up @@ -54,8 +54,8 @@ SedmlEditingViewWidget::SedmlEditingViewWidget(const QString &pContents,

// Keep track of our movement

connect(this, &SedmlEditingViewWidget::splitterMoved,
this, &SedmlEditingViewWidget::updateSizes);
connect(this, &QSplitter::splitterMoved,
this, &SedmlEditingViewWidget::splitterMoved);

// Create our editor and editor list widgets

Expand Down Expand Up @@ -179,7 +179,7 @@ QIntList SedmlEditingViewWidget::editingWidgetSizes() const

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

void SedmlEditingViewWidget::updateSizes()
void SedmlEditingViewWidget::splitterMoved()
{
// We have moved, so keep track of our new sizes

Expand Down
Expand Up @@ -82,7 +82,7 @@ class SEDMLEDITINGVIEW_EXPORT SedmlEditingViewWidget : public Core::SplitterWidg
QIntList mEditingWidgetSizes;

private slots:
void updateSizes();
void splitterMoved();
void itemRequested(OpenCOR::EditorWidget::EditorListItem *pItem);
};

Expand Down

0 comments on commit 9f15ced

Please sign in to comment.