Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
Signed-off-by: Geoff Hutchison <[email protected]>
  • Loading branch information
ghutchis committed Sep 20, 2023
1 parent 5ede226 commit c209a4f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions avogadro/qtplugins/insertfragment/insertfragmentdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,9 @@ InsertFragmentDialog::InsertFragmentDialog(QWidget* aParent, QString directory,
connect(m_ui->filterLineEdit, SIGNAL(textChanged(const QString&)), this,
SLOT(filterTextChanged(const QString&)));

connect(m_ui->directoryTreeView->selectionModel(), SIGNAL(currentChanged(const QModelIndex&, const QModelIndex &)), this,
SLOT(currentChanged(const QModelIndex&, const QModelIndex &)));
connect(m_ui->directoryTreeView->selectionModel(),
SIGNAL(currentChanged(const QModelIndex&, const QModelIndex&)), this,
SLOT(currentChanged(const QModelIndex&, const QModelIndex&)));
}

InsertFragmentDialog::~InsertFragmentDialog()
Expand All @@ -181,7 +182,8 @@ QString InsertFragmentDialog::fileName()
return selected.first().data(QFileSystemModel::FilePathRole).toString();
}

void InsertFragmentDialog::currentChanged(const QModelIndex& selected, const QModelIndex& deselected)
void InsertFragmentDialog::currentChanged(const QModelIndex& selected,
const QModelIndex& deselected)
{
Q_UNUSED(deselected)
if (m_implementation == nullptr || m_implementation->model == nullptr)
Expand Down

0 comments on commit c209a4f

Please sign in to comment.