Commit 1639d775 authored by Leon Do Castelo's avatar Leon Do Castelo
Browse files

Update autosql.cpp

parent 72aaa648
#include <iostream>
#include <autosql.h>
std::unique_ptr<Database> Database::instance = nullptr;
Database::Database(std::string path): db(QSqlDatabase::addDatabase("QSQLITE")) {
db.setDatabaseName(path.c_str());
if (!db.open()) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment