mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-24 02:42: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: {
|
case QtFatalMsg: {
|
||||||
KMessage::message(KMessage::Fatal, text);
|
KMessage::message(KMessage::Fatal, text);
|
||||||
if (m_abortfatal) {
|
if (m_abortfatal) {
|
||||||
// can't show message box and abort immediately, note that depending on the
|
// can't show message box and abort immediately (QDialog::exec() depends on
|
||||||
// KMessage handler and the alarm() behaviour (man 2 alarm) a lot of bad things
|
// events processing and there may not be any events to process at that
|
||||||
// can happen meanwhile
|
// 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);
|
::alarm(10);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Reference in a new issue