Kaydet (Commit) 88c4fb7d authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:staticcall

Change-Id: If0b59a15a2fa740760419b1dc3345cf665857114
üst c9b4c568
......@@ -362,11 +362,10 @@ void KDEXLib::timeoutActivated()
while( SalKDEDisplay::self()->HasUserEvents() )
SalKDEDisplay::self()->DispatchInternalEvent();
X11SalData *pData = static_cast<X11SalData*>(ImplGetSVData()->mpSalData);
// QGuiEventDispatcherGlib makes glib watch also X11 fd, but its hasPendingEvents()
// doesn't check X11, so explicitly check XPending() here.
bool idle = QApplication::hasPendingEvents() && !blockIdleTimeout && !XPending( QX11Info::display());
pData->Timeout( idle );
X11SalData::Timeout( idle );
// QTimer is not single shot, so will be restarted immediatelly
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment