summaryrefslogtreecommitdiffstats
path: root/kio/kio/dataprotocol.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kio/kio/dataprotocol.cpp')
-rw-r--r--kio/kio/dataprotocol.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kio/kio/dataprotocol.cpp b/kio/kio/dataprotocol.cpp
index bcbd3191e..35bed5235 100644
--- a/kio/kio/dataprotocol.cpp
+++ b/kio/kio/dataprotocol.cpp
@@ -190,7 +190,7 @@ static void parseDataHeader(const KURL &url, DataHeader &header_info) {
int raw_url_len = (int)raw_url.length();
// jump over scheme part (must be "data:", we don't even check that)
- header_info.data_offset = raw_url.tqfind(':');
+ header_info.data_offset = raw_url.find(':');
header_info.data_offset++; // jump over colon or to begin if scheme was missing
// read mime type