Skip to content

Commit 1d0fa9f

Browse files
committedFeb 18, 2020
proper fix of online merge conflit
1 parent 76cf279 commit 1d0fa9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/providers/postgres/qgspostgresprovider.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4928,7 +4928,7 @@ bool QgsPostgresProviderMetadata::saveStyle( const QString &uri, const QString &
49284928
.arg( wkbTypeString )
49294929
.arg( QgsPostgresConn::quotedValue( styleName.isEmpty() ? dsUri.table() : styleName ) );
49304930

4931-
res = conn->PQexec( checkQuery );
4931+
QgsPostgresResult res( conn->PQexec( checkQuery ) );
49324932
if ( res.PQntuples() > 0 )
49334933
{
49344934
if ( QMessageBox::question( nullptr, QObject::tr( "Save style in database" ),

0 commit comments

Comments
 (0)
Please sign in to comment.