mirror of
https://github.com/QuasarApp/qca.git
synced 2025-04-28 12:34:31 +00:00
pgpunittest: fixed start from any directory
This commit is contained in:
parent
0e4e55f5bb
commit
fe4971ccf1
@ -139,6 +139,11 @@ void PgpUnitTest::initTestCase()
|
||||
// changes to $GNUPGHOME.
|
||||
//m_init = new QCA::Initializer;
|
||||
#include "../fixpaths.include"
|
||||
|
||||
// Change current directory to executable directory
|
||||
// it is need to find keys*_work directories
|
||||
if (!QCoreApplication::applicationDirPath().isEmpty())
|
||||
QDir::setCurrent(QCoreApplication::applicationDirPath());
|
||||
}
|
||||
|
||||
void PgpUnitTest::cleanupTestCase()
|
||||
|
Loading…
x
Reference in New Issue
Block a user