From 596456886db5df48599f62210500e0bbfa9d7da7 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 12 Mar 2017 23:04:27 +0300 Subject: - fixes #742 (closing groupchat tab crashes Miranda); - the bForce parameter of CSrmmBaseDialog::CloseTab considered useless --- plugins/Scriver/src/msgs.cpp | 2 +- plugins/Scriver/src/msgs.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/Scriver/src') diff --git a/plugins/Scriver/src/msgs.cpp b/plugins/Scriver/src/msgs.cpp index 98908c14ee..921247b76a 100644 --- a/plugins/Scriver/src/msgs.cpp +++ b/plugins/Scriver/src/msgs.cpp @@ -366,7 +366,7 @@ CScriverWindow::CScriverWindow(int iDialog, SESSION_INFO *si) m_autoClose = CLOSE_ON_CANCEL; } -void CScriverWindow::CloseTab(bool) +void CScriverWindow::CloseTab() { Close(); } diff --git a/plugins/Scriver/src/msgs.h b/plugins/Scriver/src/msgs.h index df69df5f9a..f73be3d2ba 100644 --- a/plugins/Scriver/src/msgs.h +++ b/plugins/Scriver/src/msgs.h @@ -91,7 +91,7 @@ protected: CScriverWindow(int iDialog, SESSION_INFO* = nullptr); public: - virtual void CloseTab(bool bForced = false) override; + virtual void CloseTab() override; ParentWindowData *m_pParent; int m_minLogBoxHeight, m_minEditBoxHeight; -- cgit v1.2.3