mirror of
https://github.com/YACReader/yacreader
synced 2025-05-28 03:10:27 -04:00
cambios menores
This commit is contained in:
parent
391dc82193
commit
51a0f1b458
@ -52,3 +52,6 @@ RESOURCES += images.qrc \
|
|||||||
RC_FILE = icon.rc
|
RC_FILE = icon.rc
|
||||||
TRANSLATIONS = yacreader_es.ts \ yacreader_fr.ts
|
TRANSLATIONS = yacreader_es.ts \ yacreader_fr.ts
|
||||||
FORMS +=
|
FORMS +=
|
||||||
|
|
||||||
|
Release:DESTDIR = ../release
|
||||||
|
Debug:DESTDIR = ../debug
|
@ -11,7 +11,7 @@ DataBaseManagement::DataBaseManagement()
|
|||||||
bool DataBaseManagement::createDataBase(QString name, QString path)
|
bool DataBaseManagement::createDataBase(QString name, QString path)
|
||||||
{
|
{
|
||||||
QSqlDatabase db = QSqlDatabase::addDatabase("QSQLITE");
|
QSqlDatabase db = QSqlDatabase::addDatabase("QSQLITE");
|
||||||
db.setDatabaseName(name + ".ydb");
|
db.setDatabaseName(QDir::cleanPath(path) + "/" + name + ".ydb");
|
||||||
if (!db.open())
|
if (!db.open())
|
||||||
qDebug() << db.lastError();
|
qDebug() << db.lastError();
|
||||||
else {
|
else {
|
||||||
|
@ -79,7 +79,7 @@ private:
|
|||||||
|
|
||||||
QString getLocalizedFileName(QString fileName, QString locales, QString path) const;
|
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
|
#endif // STATICFILECONTROLLER_H
|
||||||
|
Loading…
Reference in New Issue
Block a user