diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-14 12:32:29 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-14 12:32:29 +0300 |
commit | 3658d5a5564db6f0854ec9378c485aef8acc8992 (patch) | |
tree | e63e1bbd4f1fb5b0c4b5d0450c90b94a6584d24d /src/gui/widgets/tabs/setup_other.cpp | |
parent | 33fa397fd5b560afde5a876a99acc2b2546d1d44 (diff) | |
download | manaplus-3658d5a5564db6f0854ec9378c485aef8acc8992.tar.gz manaplus-3658d5a5564db6f0854ec9378c485aef8acc8992.tar.bz2 manaplus-3658d5a5564db6f0854ec9378c485aef8acc8992.tar.xz manaplus-3658d5a5564db6f0854ec9378c485aef8acc8992.zip |
Add setupbutton object.
Add upload log button in settings.
Diffstat (limited to 'src/gui/widgets/tabs/setup_other.cpp')
-rw-r--r-- | src/gui/widgets/tabs/setup_other.cpp | 7 |
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"); |