From c209a4f77af96d967164d510a2bf50507fdc4d23 Mon Sep 17 00:00:00 2001 From: Geoff Hutchison Date: Wed, 20 Sep 2023 18:53:51 -0400 Subject: [PATCH] Fix formatting Signed-off-by: Geoff Hutchison --- .../qtplugins/insertfragment/insertfragmentdialog.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/avogadro/qtplugins/insertfragment/insertfragmentdialog.cpp b/avogadro/qtplugins/insertfragment/insertfragmentdialog.cpp index cfd4bcb311..4b1c5de537 100644 --- a/avogadro/qtplugins/insertfragment/insertfragmentdialog.cpp +++ b/avogadro/qtplugins/insertfragment/insertfragmentdialog.cpp @@ -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() @@ -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)