diff -r 3b1da2848fc7 -r d3bac044e0f0 examples/network/qftp/ftpwindow.cpp --- a/examples/network/qftp/ftpwindow.cpp Fri Feb 19 23:40:16 2010 +0200 +++ b/examples/network/qftp/ftpwindow.cpp Fri Mar 12 15:46:37 2010 +0200 @@ -324,7 +324,8 @@ if (isDirectory.value(name)) { fileList->clear(); isDirectory.clear(); - currentPath += "/" + name; + currentPath += '/'; + currentPath += name; ftp->cd(name); ftp->list(); cdToParentButton->setEnabled(true);