don't stopMousePolling when not started
REVIEW: 108536 BUG: 313655
This commit is contained in:
parent
4252671095
commit
9a5db24cdf
1 changed files with 2 additions and 1 deletions
|
@ -68,7 +68,8 @@ MouseClickEffect::~MouseClickEffect()
|
|||
if (!s_XrBuffer.isNull())
|
||||
XFreePixmap(display(), s_XrBuffer.handle());
|
||||
#endif
|
||||
effects->stopMousePolling();
|
||||
if (m_enabled)
|
||||
effects->stopMousePolling();
|
||||
foreach (const MouseEvent* click, m_clicks) {
|
||||
delete click;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue