Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/qt
diff options
context:
space:
mode:
authorAlex Zolotarev <alex@maps.me>2016-03-15 15:54:08 +0300
committerSergey Yershov <yershov@corp.mail.ru>2016-03-23 16:56:15 +0300
commit43bdc8ccb8ba3c39d08a6cf21498d8a605966d27 (patch)
tree6168e3b134efee95c55b3765c161627de6892fa4 /qt
parent1429aa49af2b988a87b3b8a7b34d408c6f0bb112 (diff)
[editor] Correctly send version information in changesets.
Diffstat (limited to 'qt')
-rw-r--r--qt/mainwindow.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/qt/mainwindow.cpp b/qt/mainwindow.cpp
index 5749469074..2701a85239 100644
--- a/qt/mainwindow.cpp
+++ b/qt/mainwindow.cpp
@@ -13,6 +13,7 @@
#include "std/bind.hpp"
#include "std/sstream.hpp"
+#include "std/target_os.hpp"
#include <QtGui/QCloseEvent>
@@ -502,7 +503,7 @@ void MainWindow::OnUploadEditsMenuItem()
{
auto & editor = osm::Editor::Instance();
if (editor.HaveSomethingToUpload())
- editor.UploadChanges(key, secret, {});
+ editor.UploadChanges(key, secret, {{"created_by", "MAPS.ME " OMIM_OS_NAME}});
}
}