Diffstat (limited to 'noncore/net/opietooth/manager/obexftpdialog.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opietooth/manager/obexftpdialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/net/opietooth/manager/obexftpdialog.cpp b/noncore/net/opietooth/manager/obexftpdialog.cpp index efb3ff2..2a578ac 100644 --- a/noncore/net/opietooth/manager/obexftpdialog.cpp +++ b/noncore/net/opietooth/manager/obexftpdialog.cpp | |||
@@ -240,13 +240,13 @@ void ObexFtpDialog::slotCd(QListViewItem* item) | |||
240 | else { | 240 | else { |
241 | if (curdir != "" && curdir.right(1) != "/") | 241 | if (curdir != "" && curdir.right(1) != "/") |
242 | curdir += "/"; | 242 | curdir += "/"; |
243 | curdir += file->text(0); | 243 | curdir += file->text(0); |
244 | } | 244 | } |
245 | odebug << "Browse " << curdir << oendl; | 245 | odebug << "Browse " << curdir << oendl; |
246 | if (obexftp_setpath(client, curdir, 0) < 0) | 246 | if (obexftp_setpath(client, QFile::encodeName(curdir), 0) < 0) |
247 | log(tr("CD failed: ") + tr(strerror(errno))); | 247 | log(tr("CD failed: ") + tr(strerror(errno))); |
248 | doBrowse(); | 248 | doBrowse(); |
249 | } | 249 | } |
250 | } | 250 | } |
251 | 251 | ||
252 | /* | 252 | /* |