[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Proposal: Avoid "Do not delete object, 'KRun::timer' during its event
From:       Jarosław Staniek <js () iidea ! pl>
Date:       2008-03-26 12:59:19
Message-ID: 47EA48A7.9000509 () iidea ! pl
[Download RAW message or body]

We have the following warning because of callin 'delete this' in 
KRun::slotTimeout():

  warning: QObject: Do not delete object, 'KRun::timer', during its event
  handler!

Is there any reason I shouldn't propose turning KRun::KRunPrivate::m_timer 
into QTimer* and call deleteLater()?

-- 
regards / pozdrawiam, Jaroslaw Staniek
  Sponsored by OpenOffice Polska (http://www.openoffice.com.pl/en) to work on
  Kexi & KOffice (http://www.kexi.pl/en, http://www.koffice.org/kexi)
  KDE Libraries for MS Windows (http://windows.kde.org)
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic