@@ -54,7 +54,7 Widget::Widget(QWidget *parent) | |||
|
54 | 54 | |
|
55 | 55 | // connect to the database |
|
56 | 56 | db = QSqlDatabase::addDatabase("QSQLITE"); |
|
57 | db.setDatabaseName("../examle/gdpbarchart/gdpData"); | |
|
57 | db.setDatabaseName("../example/gdpbarchart/gdpData"); | |
|
58 | 58 | if(!db.open()) |
|
59 | 59 | { |
|
60 | 60 | qDebug() << "could not open database. SQLite db file missing (?)"; |
General Comments 0
You need to be logged in to leave comments.
Login now