diff options
Diffstat (limited to 'src/gui/windows')
-rw-r--r-- | src/gui/windows/mailwindow.cpp | 2 | ||||
-rw-r--r-- | src/gui/windows/mailwindow.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windows/mailwindow.cpp b/src/gui/windows/mailwindow.cpp index 254aa2f73..9da69fb0a 100644 --- a/src/gui/windows/mailwindow.cpp +++ b/src/gui/windows/mailwindow.cpp @@ -189,7 +189,7 @@ void MailWindow::clear() mListBox->setSelected(-1); } -std::string MailWindow::getMailHeader(MailMessage *const message) const +std::string MailWindow::getMailHeader(const MailMessage *const message) const { if (mUseMail2) { diff --git a/src/gui/windows/mailwindow.h b/src/gui/windows/mailwindow.h index 6a310fb37..c99236499 100644 --- a/src/gui/windows/mailwindow.h +++ b/src/gui/windows/mailwindow.h @@ -85,7 +85,7 @@ class MailWindow final : public Window, private: void refreshMails(); - std::string getMailHeader(MailMessage *const message) const + std::string getMailHeader(const MailMessage *const message) const A_WARN_UNUSED A_NONNULL(2); STD_VECTOR<MailMessage*> mMessages; |