summaryrefslogtreecommitdiffstats
path: root/Swift
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2012-04-04 23:06:02 (GMT)
committerKevin Smith <git@kismith.co.uk>2012-04-08 20:39:27 (GMT)
commit8ca6c6d914a026052912ba18f81539e644e66f52 (patch)
treeb000fd88a5fcf9f6d73ab7d228723619bdc35bfb /Swift
parent5f66603c8f807ea899bee37943db312a401ae66a (diff)
downloadswift-8ca6c6d914a026052912ba18f81539e644e66f52.zip
swift-8ca6c6d914a026052912ba18f81539e644e66f52.tar.bz2
Improve name-suggestion code to better handle high vCard-request response times.
License: This patch is BSD-licensed, see http://www.opensource.org/licenses/bsd-license.php
Diffstat (limited to 'Swift')
-rw-r--r--Swift/QtUI/QtContactEditWidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/QtUI/QtContactEditWidget.cpp b/Swift/QtUI/QtContactEditWidget.cpp
index a80eb38..5e2915f 100644
--- a/Swift/QtUI/QtContactEditWidget.cpp
+++ b/Swift/QtUI/QtContactEditWidget.cpp
@@ -76,7 +76,7 @@ void QtContactEditWidget::setName(const std::string& name) {
}
std::string QtContactEditWidget::getName() const {
- std::string name;
+ std::string name = Q2PSTRING(name_->text());
QList<QRadioButton*> buttons = findChildren<QRadioButton*>();
foreach(const QRadioButton* button, buttons) {
if (button->isChecked()) {