Skip to content

Commit

Permalink
Rename updateSubWindowState
Browse files Browse the repository at this point in the history
Rename `updateSubWindowState` to `updateSubWindow`.
  • Loading branch information
michaelgregorius committed Oct 11, 2024
1 parent 8b4976e commit a594002
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion include/InstrumentTrackWindow.h
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ protected slots:
void adjustTabSize(QWidget *w);

QMdiSubWindow* findSubWindowInParents();
void updateSubWindowState();
void updateSubWindow();

InstrumentTrack * m_track;
InstrumentTrackView * m_itv;
Expand Down
6 changes: 3 additions & 3 deletions src/gui/instrument/InstrumentTrackWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ InstrumentTrackWindow::InstrumentTrackWindow( InstrumentTrackView * _itv ) :

// The previous call should have given us a sub window parent. Therefore
// we can reuse this method.
updateSubWindowState();
updateSubWindow();

subWin->setWindowIcon(embed::getIconPixmap("instrument_track"));
subWin->hide();
Expand Down Expand Up @@ -393,7 +393,7 @@ void InstrumentTrackWindow::modelChanged()
m_tuningView->rangeImportCheckbox()->setModel(m_track->m_microtuner.keyRangeImportModel());
updateName();

updateSubWindowState();
updateSubWindow();
}


Expand Down Expand Up @@ -719,7 +719,7 @@ QMdiSubWindow* InstrumentTrackWindow::findSubWindowInParents()
return nullptr;
}

void InstrumentTrackWindow::updateSubWindowState()
void InstrumentTrackWindow::updateSubWindow()
{
auto subWindow = findSubWindowInParents();
if (subWindow && m_instrumentView)
Expand Down

0 comments on commit a594002

Please sign in to comment.