summaryrefslogtreecommitdiffstats
path: root/examples/demo/sql/sqlex.ui.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/demo/sql/sqlex.ui.h')
-rw-r--r--examples/demo/sql/sqlex.ui.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/demo/sql/sqlex.ui.h b/examples/demo/sql/sqlex.ui.h
index b8e88ca91..bd58d1ee3 100644
--- a/examples/demo/sql/sqlex.ui.h
+++ b/examples/demo/sql/sqlex.ui.h
@@ -72,9 +72,9 @@ void SqlEx::dbConnect()
TQSqlRecordInfo ri = db->recordInfo ( *it );
for ( TQSqlRecordInfo::Iterator it = ri.begin(); it != ri.end(); ++it ) {
TQString req;
- if ( (*it).isRetquired() > 0 ) {
+ if ( (*it).isRequired() > 0 ) {
req = "Yes";
- } else if ( (*it).isRetquired() == 0 ) {
+ } else if ( (*it).isRequired() == 0 ) {
req = "No";
} else {
req = "?";