|
|
|
@ -189,9 +189,17 @@ void KStreamRipper::editStreamButtonClicked()
|
|
|
|
|
|
|
|
|
|
void KStreamRipper::deleteStreamButtonClicked()
|
|
|
|
|
{
|
|
|
|
|
ProcessListViewItem * ProcItem = (ProcessListViewItem*)m_streamsListView->currentItem();
|
|
|
|
|
ProcessListViewItem *procItem = (ProcessListViewItem*)m_streamsListView->currentItem();
|
|
|
|
|
if (procItem)
|
|
|
|
|
{
|
|
|
|
|
int res = KMessageBox::questionYesNo(this, i18n("Delete the stream '%1'?").arg(procItem->text(0)),
|
|
|
|
|
i18n("Delete stream"));
|
|
|
|
|
if (res == KMessageBox::Yes)
|
|
|
|
|
{
|
|
|
|
|
stopRipButtonClicked();
|
|
|
|
|
delete ProcItem;
|
|
|
|
|
delete procItem;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void KStreamRipper::tuneInButtonClicked()
|
|
|
|
|