summaryrefslogtreecommitdiffabout
path: root/kabc
authorzautrix <zautrix>2005-01-15 09:31:52 (UTC)
committer zautrix <zautrix>2005-01-15 09:31:52 (UTC)
commitf9f60d23806530a5bccae372e5eeebee6d528f20 (patch) (side-by-side diff)
treecaa83ca3e29a14a3423a6f4a7f22119148eaef04 /kabc
parenta423c235d0cbc39292102042ed8f4a953e0e37f9 (diff)
downloadkdepimpi-f9f60d23806530a5bccae372e5eeebee6d528f20.zip
kdepimpi-f9f60d23806530a5bccae372e5eeebee6d528f20.tar.gz
kdepimpi-f9f60d23806530a5bccae372e5eeebee6d528f20.tar.bz2
crash fix
Diffstat (limited to 'kabc') (more/less context) (ignore whitespace changes)
-rw-r--r--kabc/vcard/VCardv.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kabc/vcard/VCardv.cpp b/kabc/vcard/VCardv.cpp
index 49bfe43..1166aac 100644
--- a/kabc/vcard/VCardv.cpp
+++ b/kabc/vcard/VCardv.cpp
@@ -118,13 +118,13 @@ VCard::_parse()
l.remove(l.last());
// Now we know this is the last line
QString endLine = l.last();
// Trash the first and last lines as we have seen them.
- l.remove(l.first());
+ l.remove(l.begin());
l.remove(l.last());
///////////////////////////////////////////////////////////////
// FIRST LINE
int split = beginLine.find(':');