Skip to content

Commit

Permalink
QUuid cannot be constructed from string in Qt6
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jul 20, 2021
1 parent 87e2653 commit ea43f6b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/gui/attributetable/qgsattributetableview.cpp
Expand Up @@ -456,7 +456,7 @@ void QgsAttributeTableView::actionTriggered()

if ( action->data().toString() == QLatin1String( "user_action" ) )
{
mFilterModel->layer()->actions()->doAction( action->property( "action_id" ).toString(), f );
mFilterModel->layer()->actions()->doAction( action->property( "action_id" ).toUuid(), f );
}
else if ( action->data().toString() == QLatin1String( "map_layer_action" ) )
{
Expand Down
2 changes: 1 addition & 1 deletion src/gui/attributetable/qgsdualview.cpp
Expand Up @@ -897,7 +897,7 @@ void QgsDualView::viewWillShowContextMenu( QMenu *menu, const QModelIndex &maste
}

menu->addSeparator();
QgsAttributeTableAction *a = new QgsAttributeTableAction( tr( "Open Form" ), this, QString(), rowSourceIndex );
QgsAttributeTableAction *a = new QgsAttributeTableAction( tr( "Open Form" ), this, QUuid(), rowSourceIndex );
menu->addAction( tr( "Open Form…" ), a, &QgsAttributeTableAction::featureForm );
}

Expand Down

0 comments on commit ea43f6b

Please sign in to comment.