Fixed issue #163.

--HG--
branch : develop
This commit is contained in:
dismine 2014-06-10 23:14:16 +03:00
parent 9bf4cc0dbd
commit 1cee18a66b

View File

@ -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();
} }