summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabs/setup_other.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/tabs/setup_other.cpp')
-rw-r--r--src/gui/widgets/tabs/setup_other.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gui/widgets/tabs/setup_other.cpp b/src/gui/widgets/tabs/setup_other.cpp
index 2142d13f9..a3a939489 100644
--- a/src/gui/widgets/tabs/setup_other.cpp
+++ b/src/gui/widgets/tabs/setup_other.cpp
@@ -26,9 +26,12 @@
#include "gui/widgets/containerplacer.h"
#include "gui/widgets/layouthelper.h"
+#include "gui/widgets/setupbuttonitem.h"
#include "gui/widgets/setupitem.h"
#include "gui/widgets/scrollarea.h"
+#include "listeners/uploadlistener.h"
+
#include "configuration.h"
#include "resources/map/mapconsts.h"
@@ -370,6 +373,10 @@ Setup_Other::Setup_Other(const Widget2 *const widget) :
"logInput", this, "logInputEvent");
// TRANSLATORS: settings option
+ new SetupButtonItem(_("Upload log file"), "upload",
+ this, "uploadLog", &uploadListener);
+
+ // TRANSLATORS: settings option
new SetupItemCheckBox(_("Low traffic mode"), "", "lowTraffic",
this, "lowTrafficEvent");