This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/app/qgisapp.cpp b/src/app/qgisapp.cpp | |
index fd6ef38..dbaa30d 100644 | |
--- a/src/app/qgisapp.cpp | |
+++ b/src/app/qgisapp.cpp | |
@@ -265,8 +265,6 @@ class QTreeWidgetItem; | |
const int BEFORE_RECENT_PATHS = 123; | |
const int AFTER_RECENT_PATHS = 321; | |
- | |
- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/providers/postgres/qgspostgresprovider.cpp b/src/providers/postgres/qgspostgresprovider.cpp | |
index a1ecaa2..8c8d3e8 100644 | |
--- a/src/providers/postgres/qgspostgresprovider.cpp | |
+++ b/src/providers/postgres/qgspostgresprovider.cpp | |
@@ -1949,7 +1949,7 @@ bool QgsPostgresProvider::addFeatures( QgsFeatureList &flist ) | |
} | |
for ( int i = 0; i < fieldId.size(); i++ ) | |
- params << paramValue( attributevec[ fieldId[i] ].toString(), defaultValues[i] ); | |
+ params << paramValue( attributevec.value( fieldId[i], defaultValues[i] ).toString(), defaultValues[i] ); |
NewerOlder