31 lines
955 B
Text
31 lines
955 B
Text
$NetBSD: patch-ce,v 1.2 2009/07/11 09:11:13 rillig Exp $
|
|
|
|
--- src/sql/qsqlrecord.cpp Mon Jul 16 10:45:03 CEST 2007
|
|
+++ src/sql/qsqlrecord.cpp Mon Jul 16 10:45:03 CEST 2007
|
|
@@ -298,7 +298,7 @@
|
|
return i;
|
|
}
|
|
#ifdef QT_CHECK_RANGE
|
|
- qWarning( "QSqlRecord::position: unable to find field " + name );
|
|
+ qWarning( "QSqlRecord::position: unable to find field %s", name.latin1() );
|
|
#endif
|
|
return -1;
|
|
}
|
|
@@ -313,7 +313,7 @@
|
|
checkDetach();
|
|
if ( !sh->d->contains( i ) ) {
|
|
#ifdef QT_CHECK_RANGE
|
|
- qWarning( "QSqlRecord::field: index out of range: " + QString::number( i ) );
|
|
+ qWarning( "QSqlRecord::field: index out of range: %d", i );
|
|
#endif
|
|
return 0;
|
|
}
|
|
@@ -344,7 +344,7 @@
|
|
{
|
|
if ( !sh->d->contains( i ) ) {
|
|
#ifdef QT_CHECK_RANGE
|
|
- qWarning( "QSqlRecord::field: index out of range: " + QString::number( i ) );
|
|
+ qWarning( "QSqlRecord::field: index out of range: %d", i );
|
|
#endif // QT_CHECK_RANGE
|
|
return 0;
|
|
}
|