Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit eb30f500 authored by Laurent Montel's avatar Laurent Montel 😁

initialize variables

parent 502f8695
......@@ -55,16 +55,7 @@ class MailDispatcherAgent::Private
{
public:
Private(MailDispatcherAgent *parent)
: q(parent),
queue(nullptr),
currentJob(nullptr),
aborting(false),
sendingInProgress(false),
sentAnything(false),
errorOccurred(false),
showSentNotification(true),
sentItemsSize(0),
sentActionHandler(nullptr)
: q(parent)
{
}
......@@ -77,12 +68,12 @@ public:
OutboxQueue *queue = nullptr;
SendJob *currentJob = nullptr;
Item currentItem;
bool aborting;
bool sendingInProgress;
bool sentAnything;
bool errorOccurred;
bool showSentNotification;
qulonglong sentItemsSize;
bool aborting = false;
bool sendingInProgress = false;
bool sentAnything = false;
bool errorOccurred = false;
bool showSentNotification = true;
qulonglong sentItemsSize = 0;
SentActionHandler *sentActionHandler = nullptr;
// Q_SLOTS:
......
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