MacrosPlugin: Modernize

modernize-*

Change-Id: Iffb1bdc9b2b7e89e4744ceaef35f7bcaad418797
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Alessandro Portale
2018-11-14 01:41:46 +01:00
parent 62abfd7b50
commit 88b43d54c3
18 changed files with 52 additions and 53 deletions

View File

@@ -94,7 +94,7 @@ void MacroOptionsWidget::createTable()
Macro *macro = it.value();
QFileInfo fileInfo(macro->fileName());
if (fileInfo.absoluteDir() == dir.absolutePath()) {
QTreeWidgetItem *macroItem = new QTreeWidgetItem(m_ui->treeWidget);
auto macroItem = new QTreeWidgetItem(m_ui->treeWidget);
macroItem->setText(0, macro->displayName());
macroItem->setText(1, macro->description());
macroItem->setData(0, NAME_ROLE, macro->displayName());