diff options
author | Qt Continuous Integration System <qt-info@nokia.com> | 2010-01-29 10:12:46 (GMT) |
---|---|---|
committer | Qt Continuous Integration System <qt-info@nokia.com> | 2010-01-29 10:12:46 (GMT) |
commit | 26af4d54ea4f3a48d053038f34a00aa1119a585b (patch) | |
tree | 67054f761fe6f00e5295f02e4a6710dd97fa3d93 /examples/network/qftp | |
parent | 7f72741f06a6e9acdbcd99da6b438b3e7a1a753a (diff) | |
parent | 9c2ee0daafd159058d0804d4fc65a8ef1a4ed852 (diff) | |
download | Qt-26af4d54ea4f3a48d053038f34a00aa1119a585b.zip Qt-26af4d54ea4f3a48d053038f34a00aa1119a585b.tar.gz Qt-26af4d54ea4f3a48d053038f34a00aa1119a585b.tar.bz2 |
Merge branch '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.6-integration
* '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-1:
Fixed `make test' for xmlpatternsxqts.
Doc: Put the correct images with the D-Bus and Embedded Linux sections.
Call cheaper clear() instead of assigning new QString()
Fix some foreach usage to use const refs
googlesuggest example: Add newline to end of file
Core classes, examples, demos: Some changes from string to char
Fix header labels on mac with rtl
Diffstat (limited to 'examples/network/qftp')
-rw-r--r-- | examples/network/qftp/ftpwindow.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/network/qftp/ftpwindow.cpp b/examples/network/qftp/ftpwindow.cpp index ae3a2b6..3fd62f8 100644 --- a/examples/network/qftp/ftpwindow.cpp +++ b/examples/network/qftp/ftpwindow.cpp @@ -324,7 +324,8 @@ void FtpWindow::processItem(QTreeWidgetItem *item, int /*column*/) if (isDirectory.value(name)) { fileList->clear(); isDirectory.clear(); - currentPath += "/" + name; + currentPath += '/'; + currentPath += name; ftp->cd(name); ftp->list(); cdToParentButton->setEnabled(true); |