summaryrefslogtreecommitdiff
path: root/plugins/Scriver
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-03-12 23:04:27 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-03-12 23:04:27 +0300
commit596456886db5df48599f62210500e0bbfa9d7da7 (patch)
tree58c555add5372d37356b6397cde43c3d2cbac399 /plugins/Scriver
parentb9c2a6953f0fa75a1c4de6079e9c97b3a60be7e5 (diff)
- fixes #742 (closing groupchat tab crashes Miranda);
- the bForce parameter of CSrmmBaseDialog::CloseTab considered useless
Diffstat (limited to 'plugins/Scriver')
-rw-r--r--plugins/Scriver/src/msgs.cpp2
-rw-r--r--plugins/Scriver/src/msgs.h2
2 files changed, 2 insertions, 2 deletions
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;