parent
9bf4cc0dbd
commit
1cee18a66b
|
@ -162,7 +162,7 @@ QString VApplication::pathToTables() const
|
||||||
return QApplication::applicationDirPath() + QStringLiteral("/tables/standard");
|
return QApplication::applicationDirPath() + QStringLiteral("/tables/standard");
|
||||||
#else
|
#else
|
||||||
QDir dir(QApplication::applicationDirPath() + QStringLiteral("/tables/standard"));
|
QDir dir(QApplication::applicationDirPath() + QStringLiteral("/tables/standard"));
|
||||||
if (dir.exist())
|
if (dir.exists())
|
||||||
{
|
{
|
||||||
return dir.absolutePath();
|
return dir.absolutePath();
|
||||||
}
|
}
|
||||||
|
@ -185,7 +185,7 @@ QString VApplication::translationsPath() const
|
||||||
return QApplication::applicationDirPath() + QStringLiteral("/translations");
|
return QApplication::applicationDirPath() + QStringLiteral("/translations");
|
||||||
#else
|
#else
|
||||||
QDir dir(QApplication::applicationDirPath() + QStringLiteral("/translations"));
|
QDir dir(QApplication::applicationDirPath() + QStringLiteral("/translations"));
|
||||||
if (dir.exist())
|
if (dir.exists())
|
||||||
{
|
{
|
||||||
return dir.absolutePath();
|
return dir.absolutePath();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user