mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 10:22:48 +00:00
kdecore: add note about QDialog::exec() to the alarm() call in KDebugMessageBoxDevice::writeData()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
e6ef3d422f
commit
7cb0785160
1 changed files with 4 additions and 3 deletions
|
@ -200,9 +200,10 @@ protected:
|
|||
case QtFatalMsg: {
|
||||
KMessage::message(KMessage::Fatal, text);
|
||||
if (m_abortfatal) {
|
||||
// can't show message box and abort immediately, note that depending on the
|
||||
// KMessage handler and the alarm() behaviour (man 2 alarm) a lot of bad things
|
||||
// can happen meanwhile
|
||||
// can't show message box and abort immediately (QDialog::exec() depends on
|
||||
// events processing and there may not be any events to process at that
|
||||
// point), note that depending on the KMessage handler and the alarm()
|
||||
// behaviour (man 2 alarm) a lot of bad things can happen meanwhile
|
||||
::alarm(10);
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue