Skip to content

Commit

Permalink
Code review
Browse files Browse the repository at this point in the history
Fix whitespaces in parameter list of `addTitleButton`.
  • Loading branch information
michaelgregorius committed Oct 10, 2024
1 parent 40a90ad commit e89694a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/SubWindow.h
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class LMMS_EXPORT SubWindow : public QMdiSubWindow
void paintEvent( QPaintEvent * pe ) override;
void changeEvent( QEvent * event ) override;

QPushButton* addTitleButton(const std::string & iconName, const QString & toolTip);
QPushButton* addTitleButton(const std::string& iconName, const QString& toolTip);

signals:
void focusLost();
Expand Down
2 changes: 1 addition & 1 deletion src/gui/SubWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ void SubWindow::resizeEvent( QResizeEvent * event )
}
}

QPushButton* SubWindow::addTitleButton(const std::string & iconName, const QString & toolTip)
QPushButton* SubWindow::addTitleButton(const std::string& iconName, const QString& toolTip)
{
auto button = new QPushButton(embed::getIconPixmap(iconName), QString(), this);
button->resize(m_buttonSize);
Expand Down

0 comments on commit e89694a

Please sign in to comment.