summaryrefslogtreecommitdiffstats
path: root/examples/sql/sqltable/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/sql/sqltable/main.cpp')
-rw-r--r--examples/sql/sqltable/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/sql/sqltable/main.cpp b/examples/sql/sqltable/main.cpp
index 29cebe51b..f1cb6bd67 100644
--- a/examples/sql/sqltable/main.cpp
+++ b/examples/sql/sqltable/main.cpp
@@ -61,7 +61,7 @@ int main( int argc, char ** argv )
TQDataTable table( &cursor ); /* data table uses our cursor */
table.addColumn( "name", "Name" );
table.addColumn( "address", "Address" );
- table.setSorting( TRUE );
+ table.setSorting( true );
a.setMainWidget( &table );
table.refresh(); /* load data */