Skip to content

Commit

Permalink
Postgres provider: fix build with old QT 5
Browse files Browse the repository at this point in the history
  • Loading branch information
rouault committed Jun 28, 2018
1 parent 155ba1a commit c76a1b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/postgres/qgspostgresprovider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3200,7 +3200,7 @@ bool QgsPostgresProvider::empty() const
return false;
}

return res.PQgetvalue( 0, 0 ) != 't';
return res.PQgetvalue( 0, 0 ) != QLatin1String( "t" );
}

QgsRectangle QgsPostgresProvider::extent() const
Expand Down

0 comments on commit c76a1b5

Please sign in to comment.