diff options
Diffstat (limited to 'examples/sql/overview/retrieve2/main.cpp')
-rw-r--r-- | examples/sql/overview/retrieve2/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/sql/overview/retrieve2/main.cpp b/examples/sql/overview/retrieve2/main.cpp index 69b172b..0821265 100644 --- a/examples/sql/overview/retrieve2/main.cpp +++ b/examples/sql/overview/retrieve2/main.cpp @@ -20,7 +20,7 @@ int main( int argc, char *argv[] ) QSqlCursor cur( "staff" ); // Specify the table/view name cur.select(); // We'll retrieve every record while ( cur.next() ) { - qDebug( cur.value( "id" ).toString() + ": " + + tqDebug( cur.value( "id" ).toString() + ": " + cur.value( "surname" ).toString() + " " + cur.value( "salary" ).toString() ); } |