Verified Commit 0c0d5367 authored by Romain De Laage De Bellefaye's avatar Romain De Laage De Bellefaye 🌳
Browse files

Merge branch 'master' of gitlab.utc.fr:rdelaage/lo21-projet

parents 5a52348d 1639d775
#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