summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/tools/remote/recorddialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/tools/remote/recorddialog.cpp b/noncore/tools/remote/recorddialog.cpp
index 642e99c..f7cd30c 100644
--- a/noncore/tools/remote/recorddialog.cpp
+++ b/noncore/tools/remote/recorddialog.cpp
@@ -51,31 +51,31 @@ void RecordDialog::retPressed()
51 connect(record, SIGNAL(receivedStdout(OProcess *, char *, int)), this, SLOT(incoming(OProcess *, char *, int)) ); 51 connect(record, SIGNAL(receivedStdout(OProcess *, char *, int)), this, SLOT(incoming(OProcess *, char *, int)) );
52 connect(record, SIGNAL(receivedStderr(OProcess *, char *, int)), this, SLOT(incoming(OProcess *, char *, int)) ); 52 connect(record, SIGNAL(receivedStderr(OProcess *, char *, int)), this, SLOT(incoming(OProcess *, char *, int)) );
53 connect(record, SIGNAL(processExited(OProcess *)), this, SLOT(done(OProcess *)) ); 53 connect(record, SIGNAL(processExited(OProcess *)), this, SLOT(done(OProcess *)) );
54 printf("RecordDialog::retPressed: starting irrecord\n"); 54 printf("RecordDialog::retPressed: starting irrecord\n");
55 QString file = "/tmp/" + input->text(); 55 QString file = "/tmp/" + input->text();
56 *record<<"irrecord"<<file.latin1(); 56 *record<<"irrecord"<<file.latin1();
57 if(!record->start(OProcess::NotifyOnExit, OProcess::AllOutput)) 57 if(!record->start(OProcess::NotifyOnExit, OProcess::AllOutput))
58 { 58 {
59 QMessageBox *mb = new QMessageBox("Error!", 59 QMessageBox *mb = new QMessageBox("Error!",
60 "Could not start irrecord. You must<br>use an lirc ipkg that includes<br>irrecord", 60 "Could not start irrecord. You must<br>use an lirc ipkg that includes<br>irrecord",
61 QMessageBox::NoIcon, 61 QMessageBox::NoIcon,
62 QMessageBox::Ok, 62 QMessageBox::Ok,
63 QMessageBox::NoButton, 63 QMessageBox::NoButton,
64 QMessageBox::NoButton); 64 QMessageBox::NoButton);
65 mb->exec(); 65 mb->exec();
66 return; 66 return;
67 } 67 }
68 // record->resume(); 68 // record->resume();
69 where = 1; 69 where = 1;
70 } 70 }
71} 71}
72 72
73void RecordDialog::incoming(OProcess *proc, char *buffer, int len) 73void RecordDialog::incoming(OProcess *proc, char *buffer, int len)
74{ 74{
75 output->setText(output->text() + QString(buffer).truncate(len-1)); 75 //output->setText(output->text() + QString(buffer).truncate(len-1));
76 printf("RecordDialog::incoming: got text from irrecord\n"); 76 printf("RecordDialog::incoming: got text from irrecord\n");
77} 77}
78 78
79void RecordDialog::done(OProcess *proc) 79void RecordDialog::done(OProcess *proc)
80{ 80{
81} 81}