diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-03-10 17:58:46 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-03-10 17:58:46 +0300 |
commit | 4ed8030f36a873fdf881f37c6dccbf28029ce22a (patch) | |
tree | 935e9b16380da7c781e642e7efb5682128a67887 /src/gui/widgets | |
parent | 7d162145958fccfcc3ba32a7db3b8161cfe83fe2 (diff) | |
download | mv-4ed8030f36a873fdf881f37c6dccbf28029ce22a.tar.gz mv-4ed8030f36a873fdf881f37c6dccbf28029ce22a.tar.bz2 mv-4ed8030f36a873fdf881f37c6dccbf28029ce22a.tar.xz mv-4ed8030f36a873fdf881f37c6dccbf28029ce22a.zip |
Add option in settings to enable/disable logging unimplimented packets.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r-- | src/gui/widgets/tabs/setup_other.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
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 @@ -366,6 +366,10 @@ Setup_Other::Setup_Other(const Widget2 *const widget) : "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(); } |