Commit 584644ba authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

const'ify pointer

parent 4e2022eb
Pipeline #96597 failed with stage
in 10 minutes and 17 seconds
......@@ -56,7 +56,7 @@ protected:
void startJob(const QString &path);
virtual void slotData(const QByteArray &data);
POPSession *mPOPSession = nullptr;
POPSession *const mPOPSession;
};
class LoginJob : public BaseJob
......
......@@ -128,7 +128,7 @@ private:
Q_REQUIRED_RESULT Result loginPASS();
const Settings &mSettings;
QSslSocket *mSocket = nullptr;
QSslSocket *const mSocket;
unsigned short int m_iPort;
QString m_sServer, m_sPass, m_sUser;
bool m_try_apop, m_try_sasl, supports_apop;
......
......@@ -28,7 +28,7 @@ public:
void saveDialogSize(const QSize &size) override;
private:
Ui::TomboyNotesAgentConfigWidget *ui = nullptr;
Ui::TomboyNotesAgentConfigWidget *const ui;
KConfigDialogManager *mManager = nullptr;
};
......
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