Diffstat (limited to 'noncore/apps/opie-console/filereceive.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/filereceive.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/noncore/apps/opie-console/filereceive.cpp b/noncore/apps/opie-console/filereceive.cpp index e517862..e387273 100644 --- a/noncore/apps/opie-console/filereceive.cpp +++ b/noncore/apps/opie-console/filereceive.cpp | |||
@@ -54,5 +54,10 @@ void FileReceive::receive( const QString& dir ) { | |||
54 | 54 | ||
55 | /* we should never return from here */ | 55 | /* we should never return from here */ |
56 | execlp("rz", "rz", typus, NULL ); | 56 | if( m_type == SX ) |
57 | // FIXME: file name should be configurable - currently we ensure it | ||
58 | // doesn't get overwritten by -E (--rename) | ||
59 | execlp("rz", "rz", typus, "--overwrite", QObject::tr("SynchronizedFile").latin1(), NULL ); | ||
60 | else | ||
61 | execlp("rz", "rz", typus, "--overwrite", NULL ); | ||
57 | 62 | ||
58 | char resultByte = 1; | 63 | char resultByte = 1; |