summaryrefslogtreecommitdiff
path: root/client/lua.cc
diff options
context:
space:
mode:
authordeva <deva>2010-08-28 13:54:43 +0000
committerdeva <deva>2010-08-28 13:54:43 +0000
commite90442fe60c1e758709419767970b77cdfd2e3a8 (patch)
tree6c041032df5dc78d634404facc9784adfd93c757 /client/lua.cc
parent02b791c8edb911895b5e71e6521db1d6799c34c8 (diff)
Initial (untested) shot at a lua<->QSql wrapper.
Diffstat (limited to 'client/lua.cc')
-rw-r--r--client/lua.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/client/lua.cc b/client/lua.cc
index eae2e32..2753139 100644
--- a/client/lua.cc
+++ b/client/lua.cc
@@ -31,6 +31,7 @@
#include "widgets/widget.h"
#include "luawidget.h"
+#include "luadb.h"
#include "debug.h"
@@ -121,6 +122,7 @@ void LUA::clear()
lua_register(L, "debug", debug);
register_widget(L);
+ register_db(L);
}
QString LUA::runScriptS(QString script, Widget *widget, QString name)