Commit d9bd248d authored by Laurent Montel's avatar Laurent Montel
Browse files

Use using namespace...

parent 6eea1d83
Pipeline #245035 passed with stage
in 9 minutes and 25 seconds
......@@ -8,7 +8,8 @@
#include <QFile>
#include <QProcess>
#include <QTest>
KMime::Message::Ptr MessageViewer::Test::readAndParseMail(const QString &mailFile)
using namespace MessageViewer;
KMime::Message::Ptr Test::readAndParseMail(const QString &mailFile)
{
QFile file(QStringLiteral(MAIL_DATA_DIR) + QLatin1Char('/') + mailFile);
const bool openFile = file.open(QIODevice::ReadOnly);
......@@ -21,7 +22,7 @@ KMime::Message::Ptr MessageViewer::Test::readAndParseMail(const QString &mailFil
return msg;
}
void MessageViewer::Test::compareFile(const QString &outFile, const QString &referenceFile)
void Test::compareFile(const QString &outFile, const QString &referenceFile)
{
QVERIFY(QFile::exists(outFile));
......
Supports Markdown
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