Commit 7c43eb65 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use QStandardPaths::setTestModeEnabled(true); when necessary

parent c8fad475
......@@ -23,11 +23,12 @@
#include <QLabel>
#include <QListWidget>
#include <QTest>
#include <QStandardPaths>
CheckAttachmentDialogTest::CheckAttachmentDialogTest(QObject *parent)
: QObject(parent)
{
QStandardPaths::setTestModeEnabled(true);
}
CheckAttachmentDialogTest::~CheckAttachmentDialogTest()
......
......@@ -23,11 +23,12 @@
#include <QLabel>
#include <QListWidget>
#include <QTest>
#include <QStandardPaths>
CheckDuplicateEmailsDialogTest::CheckDuplicateEmailsDialogTest(QObject *parent)
: QObject(parent)
{
QStandardPaths::setTestModeEnabled(true);
}
CheckDuplicateEmailsDialogTest::~CheckDuplicateEmailsDialogTest()
......
......@@ -24,11 +24,12 @@
#include <QVBoxLayout>
#include <QDialogButtonBox>
#include <QPushButton>
#include <QStandardPaths>
ConfirmAddressDialogTest::ConfirmAddressDialogTest(QObject *parent)
: QObject(parent)
{
QStandardPaths::setTestModeEnabled(true);
}
ConfirmAddressDialogTest::~ConfirmAddressDialogTest()
......
......@@ -20,11 +20,12 @@
#include "confirmaddressplugintest.h"
#include "../confirmaddressplugin.h"
#include <QTest>
#include <QStandardPaths>
ConfirmAddressPluginTest::ConfirmAddressPluginTest(QObject *parent)
: QObject(parent)
{
QStandardPaths::setTestModeEnabled(true);
}
ConfirmAddressPluginTest::~ConfirmAddressPluginTest()
......
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