mirror of
https://github.com/YACReader/yacreader
synced 2025-07-20 14:04:40 -04:00
cambios menores
This commit is contained in:
@ -11,7 +11,7 @@ DataBaseManagement::DataBaseManagement()
|
||||
bool DataBaseManagement::createDataBase(QString name, QString path)
|
||||
{
|
||||
QSqlDatabase db = QSqlDatabase::addDatabase("QSQLITE");
|
||||
db.setDatabaseName(name + ".ydb");
|
||||
db.setDatabaseName(QDir::cleanPath(path) + "/" + name + ".ydb");
|
||||
if (!db.open())
|
||||
qDebug() << db.lastError();
|
||||
else {
|
||||
|
@ -79,7 +79,7 @@ private:
|
||||
|
||||
QString getLocalizedFileName(QString fileName, QString locales, QString path) const;
|
||||
|
||||
bool StaticFileController::exists(QString localizedName, QString path) const;
|
||||
bool exists(QString localizedName, QString path) const;
|
||||
};
|
||||
|
||||
#endif // STATICFILECONTROLLER_H
|
||||
|
Reference in New Issue
Block a user