Skip to content

Commit c76a1b5

Browse files
committed
Postgres provider: fix build with old QT 5
1 parent 155ba1a commit c76a1b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/providers/postgres/qgspostgresprovider.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -3200,7 +3200,7 @@ bool QgsPostgresProvider::empty() const
32003200
return false;
32013201
}
32023202

3203-
return res.PQgetvalue( 0, 0 ) != 't';
3203+
return res.PQgetvalue( 0, 0 ) != QLatin1String( "t" );
32043204
}
32053205

32063206
QgsRectangle QgsPostgresProvider::extent() const

0 commit comments

Comments
 (0)