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:
authorr.kuznetsov <r.kuznetsov@corp.mail.ru>2017-10-10 17:21:27 +0300
committerYuri Gorshenin <mipt.vi002@gmail.com>2017-10-11 15:20:07 +0300
commitaae8eafcf7d07846e06c84d1163f0676539b2e6e (patch)
tree1fef1733a5341073ec110b2cb47039c2312540a9 /qt
parent6d6af51536343eaf38ee61d6f55fd7e81cb11a72 (diff)
Added UGC uploading
Diffstat (limited to 'qt')
-rw-r--r--qt/mainwindow.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/qt/mainwindow.cpp b/qt/mainwindow.cpp
index 16b69cf607..bad2b9c906 100644
--- a/qt/mainwindow.cpp
+++ b/qt/mainwindow.cpp
@@ -154,6 +154,8 @@ MainWindow::MainWindow(Framework & framework, bool apiOpenGLES3, QString const &
#endif // NO_DOWNLOADER
m_pDrawWidget->UpdateAfterSettingsChanged();
+
+ m_pDrawWidget->GetFramework().UploadUGC(nullptr /* onCompleteUploading */);
}
#if defined(Q_WS_WIN)
@@ -550,6 +552,7 @@ void MainWindow::OnSwitchSelectionMode()
}
void MainWindow::OnClearSelection() { m_pDrawWidget->GetFramework().GetDrapeApi().Clear(); }
+
void MainWindow::OnSearchButtonClicked()
{
if (m_pSearchAction->isChecked())