On 18/02/2017 20:44, DI Siegfried Hanisch wrote:
> Does anyone know if there is a way I can see the messages which are 
> generated in the source code (Q_EMIT) in some console? Or do I have to 
> build the code to add or enable debug output?
>     Q_EMIT error (tr ("An error opening the audio output device has 
> occurred."));

Hi Seigfried,

those SoundOutput::error signals are processed in the WSJT-X MainWindow 
code and will cause a critical error message box to be popped up. The 
relevant code is:

mainwindow.cpp:383  connect (m_soundOutput, &SoundOutput::error, this, 
&MainWindow::showSoundOutError);

and

mainwindow.cpp:1448

void MainWindow::showSoundOutError(const QString& errorMsg)
{
   if (m_splash && m_splash->isVisible ()) m_splash->hide ();
   MessageBox::critical_message (this, tr ("Error in Sound Output"), errorMsg);
}

73
Bill
G4WJS.


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
wsjt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wsjt-devel

Reply via email to