diff options
Diffstat (limited to 'examples/sql/overview/retrieve1/main.cpp')
-rw-r--r-- | examples/sql/overview/retrieve1/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/sql/overview/retrieve1/main.cpp b/examples/sql/overview/retrieve1/main.cpp index 6b9f303..b1cc06b 100644 --- a/examples/sql/overview/retrieve1/main.cpp +++ b/examples/sql/overview/retrieve1/main.cpp @@ -20,7 +20,7 @@ int main( int argc, char *argv[] ) QSqlQuery query( "SELECT id, surname FROM staff" ); if ( query.isActive() ) { while ( query.next() ) { - tqDebug( query.value(0).toString() + ": " + + qDebug( query.value(0).toString() + ": " + query.value(1).toString() ); } } |