Remove usage of SIGNAL/SLOT macro
Signed-off-by: Yihe Li <winmikedows@hotmail.com>
This commit is contained in:
parent
0136c2e82a
commit
4a9b3d2f5f
30 changed files with 75 additions and 87 deletions
|
@ -79,7 +79,7 @@ ExportInstanceDialog::ExportInstanceDialog(InstancePtr instance, QWidget* parent
|
|||
m_ui->treeView->setRootIndex(m_proxyModel->mapFromSource(model->index(root)));
|
||||
m_ui->treeView->sortByColumn(0, Qt::AscendingOrder);
|
||||
|
||||
connect(m_proxyModel, SIGNAL(rowsInserted(QModelIndex, int, int)), SLOT(rowsInserted(QModelIndex, int, int)));
|
||||
connect(m_proxyModel, &QAbstractItemModel::rowsInserted, this, &ExportInstanceDialog::rowsInserted);
|
||||
|
||||
model->setFilter(QDir::AllEntries | QDir::NoDotAndDotDot | QDir::AllDirs | QDir::Hidden);
|
||||
model->setRootPath(root);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue