Commit a6b9e77a authored by Volker Krause's avatar Volker Krause
Browse files

Consistently unify SessionPrivate members in their declaration

This was previously done in different places, or worse, in two with
conflicting values.
parent 5d96c216
......@@ -29,9 +29,6 @@ Q_DECLARE_METATYPE(KSslErrorUiData)
SessionPrivate::SessionPrivate(Session *session)
: QObject(session)
, q(session)
, m_state(Session::Disconnected)
, m_socketTimerInterval(60000)
, m_sslVersion(QSsl::UnknownProtocol)
{
qRegisterMetaType<QSsl::SslProtocol>();
qRegisterMetaType<KSslErrorUiData>();
......
......@@ -67,12 +67,12 @@ private:
Session *const q;
// Smtp session
Session::State m_state;
Session::State m_state = Session::Disconnected;
SessionThread *m_thread = nullptr;
SessionUiProxy::Ptr m_uiProxy;
int m_socketTimerInterval = 0;
int m_socketTimerInterval = 60000;
QTimer m_socketTimer;
QSsl::SslProtocol m_sslVersion;
QSsl::SslProtocol m_sslVersion = QSsl::UnknownProtocol;
// Jobs
bool m_jobRunning = false;
......
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