Diffstat (limited to 'noncore/net/opietooth/manager/obexdialog.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opietooth/manager/obexdialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/net/opietooth/manager/obexdialog.cpp b/noncore/net/opietooth/manager/obexdialog.cpp index 1ef862a..3a3dbb0 100644 --- a/noncore/net/opietooth/manager/obexdialog.cpp +++ b/noncore/net/opietooth/manager/obexdialog.cpp | |||
@@ -59,31 +59,31 @@ void ObexDialog::browse() { | |||
59 | 59 | ||
60 | MimeTypes types; | 60 | MimeTypes types; |
61 | QStringList all; | 61 | QStringList all; |
62 | all << "*/*"; | 62 | all << "*/*"; |
63 | types.insert("All Files", all ); | 63 | types.insert("All Files", all ); |
64 | 64 | ||
65 | QString str = OFileDialog::getOpenFileName( 1,"/","", types, 0 ); | 65 | QString str = OFileDialog::getOpenFileName( 1,"/","", types, 0 ); |
66 | cmdLine->setText( str ); | 66 | cmdLine->setText( str ); |
67 | 67 | ||
68 | } | 68 | } |
69 | 69 | ||
70 | void ObexDialog::sendData() { | 70 | void ObexDialog::sendData() { |
71 | QString fileURL = cmdLine->text(); | 71 | QString fileURL = cmdLine->text(); |
72 | QString file = QFileInfo( fileURL ).fileName(); | 72 | QString file = QFileInfo( fileURL ).fileName(); |
73 | QString modifiedName = chNameLine->text(); | 73 | QString modifiedName = chNameLine->text(); |
74 | 74 | ||
75 | // vom popupmenu beziehen | 75 | // vom popupmenu beziehen |
76 | OProcess* obexSend = new OProcess(); | 76 | OProcess* obexSend = new OProcess(); |
77 | if ( !modifiedName.isEmpty() ) { | 77 | if ( !modifiedName.isEmpty() ) { |
78 | *obexSend << "ussp-push" << m_device << fileURL << modifiedName; | 78 | *obexSend << "ussp-push" << m_device << fileURL << modifiedName; |
79 | } else { | 79 | } else { |
80 | *obexSend << "ussp-push" << m_device << fileURL << file; | 80 | *obexSend << "ussp-push" << m_device << fileURL << file; |
81 | } | 81 | } |
82 | if (!obexSend->start(OProcess::DontCare, OProcess::AllOutput) ) { | 82 | if (!obexSend->start(OProcess::DontCare, OProcess::AllOutput) ) { |
83 | qWarning("could not start"); | 83 | owarn << "could not start" << oendl; |
84 | delete obexSend; | 84 | delete obexSend; |
85 | } | 85 | } |
86 | 86 | ||
87 | 87 | ||
88 | 88 | ||
89 | } | 89 | } |