Fixed Windows build.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2015-09-30 13:58:59 +03:00
parent 5e8ebd532b
commit 00e38fc119

View File

@ -53,7 +53,7 @@ QString AbstractTest::ValentinaPath() const
{ {
const QString path = QStringLiteral("/../../../app/valentina/bin/valentina"); const QString path = QStringLiteral("/../../../app/valentina/bin/valentina");
#ifdef Q_OS_WIN #ifdef Q_OS_WIN
return QApplication::applicationDirPath() + path + QStringList(".exe"); return QApplication::applicationDirPath() + path + QStringLiteral(".exe");
#else #else
return QApplication::applicationDirPath() + path; return QApplication::applicationDirPath() + path;
#endif #endif
@ -64,7 +64,7 @@ QString AbstractTest::TapePath() const
{ {
const QString path = QStringLiteral("/../../../app/tape/bin/tape"); const QString path = QStringLiteral("/../../../app/tape/bin/tape");
#ifdef Q_OS_WIN #ifdef Q_OS_WIN
return QApplication::applicationDirPath() + path + QStringList(".exe"); return QApplication::applicationDirPath() + path + QStringLiteral(".exe");
#else #else
return QApplication::applicationDirPath() + path; return QApplication::applicationDirPath() + path;
#endif #endif