summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2012-05-31 09:22:18 (GMT)
committerKevin Smith <git@kismith.co.uk>2012-05-31 09:22:18 (GMT)
commit59f1bfcf315a77834ddbce20cc05892d211ab55c (patch)
tree42212b6ae07539b3bfd6fdcb6903dab9aa6b61be /Swift/QtUI/QtContactEditWidget.h
parent08399fe0e7d8d5ab42975b51c487c82caf845cef (diff)
downloadswift-59f1bfcf315a77834ddbce20cc05892d211ab55c.zip
swift-59f1bfcf315a77834ddbce20cc05892d211ab55c.tar.bz2
Render & in group names correctly in edit dialog.
Resolves: #1117
Diffstat (limited to 'Swift/QtUI/QtContactEditWidget.h')
-rw-r--r--Swift/QtUI/QtContactEditWidget.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Swift/QtUI/QtContactEditWidget.h b/Swift/QtUI/QtContactEditWidget.h
index 5350762..6d55b80 100644
--- a/Swift/QtUI/QtContactEditWidget.h
+++ b/Swift/QtUI/QtContactEditWidget.h
@@ -38,6 +38,10 @@ namespace Swift {
void clear();
+
+ private:
+ QString doubleAmpersand(const std::string& name) const;
+ std::string singleAmpersand(const QString& name) const;
private:
typedef std::map<std::string, QCheckBox*> CheckBoxMap;
CheckBoxMap checkBoxes_;