summaryrefslogtreecommitdiffstats
path: root/src/sql/qsqlextension_p.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2019-06-01 20:03:50 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2019-06-01 20:03:50 +0900
commit09f45583d97c73e309a93447707b0acebfbddea8 (patch)
treed0941a11d3399f967e2c8ff8c10e6d0dff845e0f /src/sql/qsqlextension_p.cpp
parent8e3ec3023bdb4e1c61f0b5db945a09628e4fbae2 (diff)
downloadqt3-09f45583d97c73e309a93447707b0acebfbddea8.tar.gz
qt3-09f45583d97c73e309a93447707b0acebfbddea8.zip
Adjusted to use new QStringVariantMap type.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/sql/qsqlextension_p.cpp')
-rw-r--r--src/sql/qsqlextension_p.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sql/qsqlextension_p.cpp b/src/sql/qsqlextension_p.cpp
index da6a2ac..27fdca8 100644
--- a/src/sql/qsqlextension_p.cpp
+++ b/src/sql/qsqlextension_p.cpp
@@ -128,10 +128,10 @@ QVariant QSqlExtension::boundValue( int pos ) const
return values[ index[ pos ] ].value;
}
-QMap<QString, QVariant> QSqlExtension::boundValues() const
+QStringVariantMap QSqlExtension::boundValues() const
{
QMap<QString, QSqlParam>::ConstIterator it;
- QMap<QString, QVariant> m;
+ QStringVariantMap m;
if ( bindm == BindByName ) {
for ( it = values.begin(); it != values.end(); ++it )
m.insert( it.key(), it.data().value );