summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabs
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-10 17:58:46 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-10 17:58:46 +0300
commit4ed8030f36a873fdf881f37c6dccbf28029ce22a (patch)
tree935e9b16380da7c781e642e7efb5682128a67887 /src/gui/widgets/tabs
parent7d162145958fccfcc3ba32a7db3b8161cfe83fe2 (diff)
downloadplus-4ed8030f36a873fdf881f37c6dccbf28029ce22a.tar.gz
plus-4ed8030f36a873fdf881f37c6dccbf28029ce22a.tar.bz2
plus-4ed8030f36a873fdf881f37c6dccbf28029ce22a.tar.xz
plus-4ed8030f36a873fdf881f37c6dccbf28029ce22a.zip
Add option in settings to enable/disable logging unimplimented packets.
Diffstat (limited to 'src/gui/widgets/tabs')
-rw-r--r--src/gui/widgets/tabs/setup_other.cpp5
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();
}