aboutsummaryrefslogtreecommitdiff
path: root/qt/driver.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'qt/driver.cxx')
-rw-r--r--qt/driver.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt/driver.cxx b/qt/driver.cxx
index 3042b48..e15708b 100644
--- a/qt/driver.cxx
+++ b/qt/driver.cxx
@@ -159,7 +159,7 @@ main (int argc, char* argv[])
transaction t (db->begin ());
result r (db->query<Employee> (
- query::employer::name == "Complex Systems Inc" &&
+ query::employer->name == "Complex Systems Inc" &&
query::born < QDate (1978, 4, 1)));
for (result::iterator i (r.begin ()); i != r.end (); ++i)