Fixed kdvi "TQApplication::notify: Unexpected null receiver" warning message at startup. This resolves bug 1891.

pull/1/head
Michele Calgaro 11 years ago
parent 8a77591938
commit e3acb2b194

@ -1471,16 +1471,20 @@ void KViewPart::preferencesChanged()
void KViewPart::partActivateEvent( KParts::PartActivateEvent *ev )
{
TQApplication::sendEvent( multiPage, ev );
if (!multiPage.isNull())
{
TQApplication::sendEvent( multiPage, ev );
}
}
void KViewPart::guiActivateEvent( KParts::GUIActivateEvent *ev )
{
TQApplication::sendEvent( multiPage, ev );
if (!multiPage.isNull())
{
TQApplication::sendEvent( multiPage, ev );
}
}
void KViewPart::slotEnableMoveTool(bool enable)
{
// Safety Check

Loading…
Cancel
Save