From aae8eafcf7d07846e06c84d1163f0676539b2e6e Mon Sep 17 00:00:00 2001 From: "r.kuznetsov" Date: Tue, 10 Oct 2017 17:21:27 +0300 Subject: Added UGC uploading --- qt/mainwindow.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'qt') 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()) -- cgit v1.2.3