summaryrefslogtreecommitdiffstats
path: root/src/corelib/io
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2010-05-07 09:54:47 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2010-05-07 09:59:50 (GMT)
commit070a3dbbb368f3e1b817a5ecff15127302458e7a (patch)
tree769aa440204cd97dd3ecf22d8fe9ed2ac7609409 /src/corelib/io
parentaebc59dde62651bbe60af626f289a587d475e73a (diff)
downloadQt-070a3dbbb368f3e1b817a5ecff15127302458e7a.zip
Qt-070a3dbbb368f3e1b817a5ecff15127302458e7a.tar.gz
Qt-070a3dbbb368f3e1b817a5ecff15127302458e7a.tar.bz2
Add some debugging (disabled) to QUrl::resolved
Diffstat (limited to 'src/corelib/io')
-rw-r--r--src/corelib/io/qurl.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/corelib/io/qurl.cpp b/src/corelib/io/qurl.cpp
index 67119b5..d6ded9d 100644
--- a/src/corelib/io/qurl.cpp
+++ b/src/corelib/io/qurl.cpp
@@ -5557,6 +5557,12 @@ QUrl QUrl::resolved(const QUrl &relative) const
removeDotsFromPath(&t.d->encodedPath);
t.d->path.clear();
+#if defined(QURL_DEBUG)
+ qDebug("QUrl(\"%s\").resolved(\"%s\") = \"%s\"",
+ toEncoded().constData(),
+ relative.toEncoded().constData(),
+ t.toEncoded().constData());
+#endif
return t;
}