Commit 35c2ae15 authored by Sandro Knauß's avatar Sandro Knauß
Browse files

refactor [messagecomposer]: using namespace MessageComposer

parent 24438e30
......@@ -27,14 +27,16 @@
#include <QFile>
#include <QDir>
void MessageComposer::Test::setupEnv()
using namespace MessageComposer;
void Test::setupEnv()
{
qputenv("LC_ALL", "C");
qputenv("KDEHOME", QFile::encodeName(QDir::homePath() + QLatin1String("/.qttest")).constData());
QStandardPaths::setTestModeEnabled(true);
}
std::vector< GpgME::Key, std::allocator< GpgME::Key > > MessageComposer::Test::getKeys(bool smime)
std::vector< GpgME::Key, std::allocator< GpgME::Key > > Test::getKeys(bool smime)
{
QGpgME::KeyListJob *job = nullptr;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment