summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2014-05-23 13:39:16 (GMT)
committerSwift Review <review@swift.im>2014-05-26 18:37:17 (GMT)
commitd9bd353dc90008bd8d723630ec9c037a3c1f5ad2 (patch)
treeab5eabfd8d8e73fbbf07aaa1dd4f04518ad900b6 /Swift/QtUI/QtVCardWidget/QtVCardPhotoAndNameFields.cpp
parentb249168a5c7dfd4846729dcb79445afc2cf37391 (diff)
downloadswift-d9bd353dc90008bd8d723630ec9c037a3c1f5ad2.zip
swift-d9bd353dc90008bd8d723630ec9c037a3c1f5ad2.tar.bz2
Fix uninitialized variables.
Change-Id: I39c117959e41e0b76623d60b3571e58814684551 License: This patch is BSD-licensed, see Documentation/Licenses/BSD-simplified.txt for details.
Diffstat (limited to 'Swift/QtUI/QtVCardWidget/QtVCardPhotoAndNameFields.cpp')
-rw-r--r--Swift/QtUI/QtVCardWidget/QtVCardPhotoAndNameFields.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Swift/QtUI/QtVCardWidget/QtVCardPhotoAndNameFields.cpp b/Swift/QtUI/QtVCardWidget/QtVCardPhotoAndNameFields.cpp
index aaea194..9140a6d 100644
--- a/Swift/QtUI/QtVCardWidget/QtVCardPhotoAndNameFields.cpp
+++ b/Swift/QtUI/QtVCardWidget/QtVCardPhotoAndNameFields.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2012 Tobias Markmann
+ * Copyright (c) 2012-2014 Tobias Markmann
* Licensed under the simplified BSD license.
* See Documentation/Licenses/BSD-simplified.txt for more information.
*/
@@ -33,6 +33,7 @@ QtVCardPhotoAndNameFields::QtVCardPhotoAndNameFields(QWidget* parent) :
ui->lineEditSUFFIX->setPlaceholderText(tr("Suffix"));
#endif
+ setEditable(false);
}
QtVCardPhotoAndNameFields::~QtVCardPhotoAndNameFields() {