mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 12:40:35 +01:00
Revert "Try Clazy fix-its"
Segfault on old Qt versions!
This reverts commit dba7caed30.
This commit is contained in:
@@ -71,7 +71,7 @@ void DiagramContextWidget::setContext (const DiagramContext &context)
|
||||
clear();
|
||||
|
||||
int i = 0;
|
||||
for (const QString& key : context.keys(DiagramContext::Alphabetical))
|
||||
for (QString key : context.keys(DiagramContext::Alphabetical))
|
||||
{
|
||||
ui->m_table->setItem(i, 0, new QTableWidgetItem(key));
|
||||
ui->m_table->setItem(i, 1, new QTableWidgetItem(context[key].toString()));
|
||||
|
||||
Reference in New Issue
Block a user