summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/kstreamripper.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/kstreamripper.cpp b/src/kstreamripper.cpp
index bfcf09b..a4fef54 100644
--- a/src/kstreamripper.cpp
+++ b/src/kstreamripper.cpp
@@ -144,6 +144,10 @@ void KStreamRipper::closeEvent( TQCloseEvent *e )
nameList.append( iter.current()->text( 0 ));
urlList.append( ProcItem->getProcessController()->getUrl() );
descList.append( ProcItem->getProcessController()->getDescription() );
+ if ( ProcItem->getProcessController()->getStatus() )
+ {
+ ProcItem->getProcessController()->stopRip();
+ }
++iter;
}