d->m_nextDocumentViewport = DocumentViewport();
d->m_nextDocumentDestination = QString();
}
-
- } break;
+ break;
+ }
case Action::Execute: {
const ExecuteAction * exe = static_cast< const ExecuteAction * >( action );
KRun::run( *ptr, lst, 0 );
}
else
+ {
KMessageBox::information( d->m_widget, i18n( "No application found for opening file of mimetype %1.", mime->name() ) );
- } break;
+ }
+ break;
+ }
case Action::DocAction: {
const DocumentAction * docaction = static_cast< const DocumentAction * >( action );
emit close();
break;
}
- } break;
+ break;
+ }
case Action::Browse: {
const BrowseAction * browse = static_cast< const BrowseAction * >( action );
// Albert: this is not a leak!
new KRun( realUrl, d->m_widget );
}
- } break;
+ break;
+ }
case Action::Sound: {
const SoundAction * linksound = static_cast< const SoundAction * >( action );
AudioPlayer::instance()->playSound( linksound->sound(), linksound );
- } break;
+ break;
+ }
- case Action::Movie:
+ case Action::Movie: {
emit processMovieAction( static_cast< const MovieAction * >( action ) );
break;
+ }
}
}