From 4ed8030f36a873fdf881f37c6dccbf28029ce22a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 10 Mar 2015 17:58:46 +0300 Subject: Add option in settings to enable/disable logging unimplimented packets. --- src/gui/widgets/tabs/setup_other.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/gui/widgets/tabs') diff --git a/src/gui/widgets/tabs/setup_other.cpp b/src/gui/widgets/tabs/setup_other.cpp index 16d467f77..a20d4472b 100644 --- a/src/gui/widgets/tabs/setup_other.cpp +++ b/src/gui/widgets/tabs/setup_other.cpp @@ -365,6 +365,10 @@ Setup_Other::Setup_Other(const Widget2 *const widget) : new SetupItemTextField(_("Ignore logging packets"), "", "ignorelogpackets", this, "ignorelogpacketsEvent"); + // TRANSLATORS: settings option + new SetupItemCheckBox(_("Log unimplimented packets"), "", + "unimplimentedLog", this, "unimplimentedLogEvent"); + // TRANSLATORS: settings option new SetupItemCheckBox(_("Enable OpenGL log"), "", "debugOpenGL", this, "debugOpenGLEvent"); @@ -425,6 +429,7 @@ void Setup_Other::apply() SetupTabScroll::apply(); logger->setDebugLog(config.getBoolValue("debugLog")); + logger->setReportUnimplimented(config.getBoolValue("unimplimentedLog")); Net::loadIgnorePackets(); } -- cgit v1.2.3-70-g09d2