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:
authorMaxim Pimenov <m@maps.me>2019-06-06 17:02:30 +0300
committerTatiana Yan <tatiana.kondakova@gmail.com>2019-06-06 17:04:26 +0300
commit96acf26e9af6e5a96200b48fe08e54b6e2ea6566 (patch)
tree3e1c7b9e0881831a7c734552070557298a0048b7 /qt
parent67f322a11837e691ec3a00063a8d866f3192cf85 (diff)
Review fixes.
Diffstat (limited to 'qt')
-rw-r--r--qt/update_dialog.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/qt/update_dialog.cpp b/qt/update_dialog.cpp
index 881e0a9497..f5b21af45b 100644
--- a/qt/update_dialog.cpp
+++ b/qt/update_dialog.cpp
@@ -227,16 +227,15 @@ namespace qt
void UpdateDialog::OnLocaleTextChanged(QString const & text)
{
- string locale(text.toUtf8().constData());
- strings::Trim(locale);
- m_locale = std::move(locale);
+ m_locale.assign(text.toUtf8().constData());
+ strings::Trim(m_locale);
RefillTree();
}
void UpdateDialog::OnQueryTextChanged(QString const & text)
{
- m_query = string(text.toUtf8().constData());
+ m_query.assign(text.toUtf8().constData());
RefillTree();
}