@@ -26,9 +26,7 @@ QtObject {
26 function openDB() {
26 function openDB() {
27 if (db !== null) return;
27 if (db !== null) return;
29− // db = LocalStorage.openDatabaseSync(identifier, version, description, estimated_size, callback(db))
30 db = LocalStorage.openDatabaseSync("unity8", "0.1", "", 100000);
29 db = LocalStorage.openDatabaseSync("unity8", "0.1", "", 100000);
33 db.transaction(function(tx) {
31 db.transaction(function(tx) {
34 tx.executeSql('CREATE TABLE IF NOT EXISTS windowproperties(windowId TEXT UNIQUE, x INTEGER, y INTEGER, width INTEGER, height INTEGER)');
32 tx.executeSql('CREATE TABLE IF NOT EXISTS windowproperties(windowId TEXT UNIQUE, x INTEGER, y INTEGER, width INTEGER, height INTEGER)');