Changeset 979e5be for src/sql/sqlengine.cpp
- Timestamp:
- 02/01/10 10:54:29 (13 years ago)
- Branches:
- master, qt5
- Children:
- 8896336
- Parents:
- c639717
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sql/sqlengine.cpp
rc639717 r979e5be 33 33 if(!QFile::exists(aDatabaseName)) // the DB (tables) doesn't exists, and so we have to create one 34 34 { 35 /* 35 36 // creating empty DB + tables 36 37 // ??? what is the best way of creating new empty DB ??? … … 39 40 // - create new DB from resource, which contains empty DB with tables 40 41 result = createTables(database); 42 */ 43 44 // copy conference Db from resource, instead of creating 45 // empty tables and then parsing the schedule 46 QFile(":/fosdem.sqlite").copy(aDatabaseName); 47 database.open(); 41 48 } 42 49 else
Note: See TracChangeset
for help on using the changeset viewer.