Don't send stderr to wsjtx.log in Linux, I want to see qDebug() output.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@2744 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor 2012-11-16 17:02:34 +00:00
parent be6b691ed7
commit 217f84e030

View File

@ -27,7 +27,9 @@ MainWindow::MainWindow(QWidget *parent) :
{ {
ui->setupUi(this); ui->setupUi(this);
#ifdef WIN32
freopen("wsjtx.log","w",stderr); freopen("wsjtx.log","w",stderr);
#endif
on_EraseButton_clicked(); on_EraseButton_clicked();
ui->labUTC->setStyleSheet( \ ui->labUTC->setStyleSheet( \
"QLabel { background-color : black; color : yellow; }"); "QLabel { background-color : black; color : yellow; }");
@ -114,8 +116,6 @@ MainWindow::MainWindow(QWidget *parent) :
m_dataAvailable=false; m_dataAvailable=false;
decodeBusy(false); decodeBusy(false);
qDebug() << "AA";
ui->xThermo->setFillBrush(Qt::green); ui->xThermo->setFillBrush(Qt::green);
PaError paerr=Pa_Initialize(); //Initialize Portaudio PaError paerr=Pa_Initialize(); //Initialize Portaudio
if(paerr!=paNoError) { if(paerr!=paNoError) {