summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kmail/kmreaderwin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kmail/kmreaderwin.cpp b/kmail/kmreaderwin.cpp
index d0d78b728..8ada99f40 100644
--- a/kmail/kmreaderwin.cpp
+++ b/kmail/kmreaderwin.cpp
@@ -2690,7 +2690,7 @@ KURL KMReaderWin::tempFileUrlFromPartNode( const partNode * node )
bool ok;
int res = path.mid(left + 1, right - left - 1).toInt(&ok);
if ( res == node->nodeId() )
- return KURL( path );
+ return KURL::fromPathOrURL( path );
}
return KURL();
}