mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-24 02:42:50 +00:00
kgreeter: do not propagate own timer event to the main window
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
d1f32b2a66
commit
edeb8e7fdc
1 changed files with 3 additions and 0 deletions
|
@ -270,7 +270,10 @@ void KGreeter::timerEvent(QTimerEvent *event)
|
||||||
{
|
{
|
||||||
if (event->timerId() == m_timerid) {
|
if (event->timerId() == m_timerid) {
|
||||||
g_main_context_iteration(g_main_loop_get_context(glibloop), false);
|
g_main_context_iteration(g_main_loop_get_context(glibloop), false);
|
||||||
|
event->accept();
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
QMainWindow::timerEvent(event);
|
QMainWindow::timerEvent(event);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue