Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Apr 26, 2023
1 parent e81e7e1 commit 26469a5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/gui/qgsdbqueryhistoryprovider.cpp
Expand Up @@ -156,11 +156,12 @@ class DatabaseQueryRootNode : public DatabaseQueryHistoryNode
return editor;
}

void doubleClicked( const QgsHistoryWidgetContext & ) override
bool doubleClicked( const QgsHistoryWidgetContext & ) override
{
mProvider->emitOpenSqlDialog( mEntry.entry.value( QStringLiteral( "connection" ) ).toString(),
mEntry.entry.value( QStringLiteral( "provider" ) ).toString(),
mEntry.entry.value( QStringLiteral( "query" ) ).toString() );
return true;
}

void populateContextMenu( QMenu *menu, const QgsHistoryWidgetContext & ) override
Expand Down

0 comments on commit 26469a5

Please sign in to comment.