|
Lines 596-602
Link Here
|
| 596 |
if ( m_strPath.isEmpty() ) |
596 |
if ( m_strPath.isEmpty() ) |
| 597 |
m_strPath = '/'; |
597 |
m_strPath = '/'; |
| 598 |
} |
598 |
} |
| 599 |
KURL tmp( url() + rUrl, encoding_hint); |
599 |
|
|
|
600 |
QString local; |
| 601 |
if (encoding_hint==0) |
| 602 |
local = rUrl.local8Bit(); |
| 603 |
else |
| 604 |
{ |
| 605 |
QTextCodec *textCodec = codecForHint( encoding_hint ); |
| 606 |
if (!textCodec) |
| 607 |
local = rUrl.local8Bit(); |
| 608 |
else |
| 609 |
local = textCodec->toUnicode(rUrl.latin1()).local8Bit(); |
| 610 |
} |
| 611 |
KURL tmp( url() + local ); |
| 612 |
|
| 600 |
*this = tmp; |
613 |
*this = tmp; |
| 601 |
cleanPath(false); |
614 |
cleanPath(false); |
| 602 |
} |
615 |
} |