diff options
author | vng <viktor.govako@gmail.com> | 2016-01-20 18:59:16 +0300 |
---|---|---|
committer | Sergey Yershov <yershov@corp.mail.ru> | 2016-03-23 16:14:20 +0300 |
commit | c843969f7e1d387464403fc7e468bef5c816fe48 (patch) | |
tree | c4c581a596fe5127b0dd532f37a83af6fa78cb9f /qt/editor_dialog.cpp | |
parent | 38f6a6e10e9bb799ebb725ce4592ec8c969f56c7 (diff) |
Rename ForEachNameRef -> ForEachName with rvalue reference functor passing.
Diffstat (limited to 'qt/editor_dialog.cpp')
-rw-r--r-- | qt/editor_dialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt/editor_dialog.cpp b/qt/editor_dialog.cpp index f107e2b4d2..f0f5571e06 100644 --- a/qt/editor_dialog.cpp +++ b/qt/editor_dialog.cpp @@ -68,7 +68,7 @@ EditorDialog::EditorDialog(QWidget * parent, FeatureType const & feature, Framew defaultNameRow->addWidget(defaultNamelineEdit); vLayout->addLayout(defaultNameRow); - feature.ForEachNameRef([&](int8_t langCode, string const & name) -> bool + feature.ForEachName([&](int8_t langCode, string const & name) -> bool { if (langCode == StringUtf8Multilang::DEFAULT_CODE) defaultNamelineEdit->setText(QString::fromStdString(name)); |