Rename leftovers that were forgotten in 645903ed6b
This commit is contained in:
bovenliggende
d2d576e617
commit
9b51e00737
@ -96,7 +96,7 @@ void Common::setupAppInfo()
|
|||||||
|
|
||||||
QString Common::databasePath()
|
QString Common::databasePath()
|
||||||
{
|
{
|
||||||
QString env = QProcessEnvironment::systemEnvironment().value("QSS_DB_OVERRIDE");
|
QString env = QProcessEnvironment::systemEnvironment().value("LOOQS_DB_OVERRIDE");
|
||||||
if(env == "")
|
if(env == "")
|
||||||
{
|
{
|
||||||
QSettings settings;
|
QSettings settings;
|
||||||
|
@ -12,7 +12,7 @@ static QThreadStorage<QSqlDatabase> dbStore;
|
|||||||
QSqlDatabase DatabaseFactory::createNew()
|
QSqlDatabase DatabaseFactory::createNew()
|
||||||
{
|
{
|
||||||
static int counter = 0;
|
static int counter = 0;
|
||||||
QSqlDatabase db = QSqlDatabase::addDatabase("QSQLITE", "QSS" + QString::number(counter++));
|
QSqlDatabase db = QSqlDatabase::addDatabase("QSQLITE", "LOOQS" + QString::number(counter++));
|
||||||
db.setDatabaseName(this->connectionString);
|
db.setDatabaseName(this->connectionString);
|
||||||
if(!db.open())
|
if(!db.open())
|
||||||
{
|
{
|
||||||
@ -29,7 +29,7 @@ QSqlDatabase DatabaseFactory::forCurrentThread()
|
|||||||
return dbStore.localData();
|
return dbStore.localData();
|
||||||
}
|
}
|
||||||
QSqlDatabase db =
|
QSqlDatabase db =
|
||||||
QSqlDatabase::addDatabase("QSQLITE", "QSS" + QString::number((quint64)QThread::currentThread(), 16));
|
QSqlDatabase::addDatabase("QSQLITE", "LOOQS" + QString::number((quint64)QThread::currentThread(), 16));
|
||||||
db.setDatabaseName(this->connectionString);
|
db.setDatabaseName(this->connectionString);
|
||||||
if(!db.open())
|
if(!db.open())
|
||||||
{
|
{
|
||||||
|
Laden…
Verwijs in nieuw issue
Block a user