summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorDavid Boddie <dboddie@trolltech.com>2010-08-05 11:41:59 (GMT)
committerDavid Boddie <dboddie@trolltech.com>2010-08-05 11:41:59 (GMT)
commit1815ad4a6e72ed1996253f0ecb7506ae3e07ca41 (patch)
tree4e4e2480c53c470de533112c81386b8b2ca1ccc9 /doc
parent3378fe13f8d865463c79f34017a1d82e03cdf147 (diff)
parentd754440bf7ce91a2f4a56a8873b6bfa546719c08 (diff)
downloadQt-1815ad4a6e72ed1996253f0ecb7506ae3e07ca41.zip
Qt-1815ad4a6e72ed1996253f0ecb7506ae3e07ca41.tar.gz
Qt-1815ad4a6e72ed1996253f0ecb7506ae3e07ca41.tar.bz2
Merge commit 'refs/merge-requests/2443' of git://gitorious.org/qt/qt into integration
Diffstat (limited to 'doc')
-rw-r--r--doc/src/snippets/sharedemployee/employee.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/snippets/sharedemployee/employee.h b/doc/src/snippets/sharedemployee/employee.h
index 18b47e0..2c9ba6f 100644
--- a/doc/src/snippets/sharedemployee/employee.h
+++ b/doc/src/snippets/sharedemployee/employee.h
@@ -48,7 +48,7 @@
class EmployeeData : public QSharedData
{
public:
- EmployeeData() : id(-1) { name.clear(); }
+ EmployeeData() : id(-1) { }
EmployeeData(const EmployeeData &other)
: QSharedData(other), id(other.id), name(other.name) { }
~EmployeeData() { }