videocollection/tsrc/videoservicestestapp/src/videoservicestestappview.cpp
changeset 41 229f037ce963
parent 39 f6d44a0cd476
child 66 adb51f74b890
--- a/videocollection/tsrc/videoservicestestapp/src/videoservicestestappview.cpp	Fri Jun 11 09:44:20 2010 +0300
+++ b/videocollection/tsrc/videoservicestestapp/src/videoservicestestappview.cpp	Thu Jun 24 09:49:13 2010 +0300
@@ -214,6 +214,9 @@
         mErrorEdit->setText("Failed to send REQ");
         qDebug() <<  "VideoServicesTestAppView::fetchVideo: XQAiwRequest::send returned false";
     }
+    // req no longer needed, remove it
+    delete mReq;
+    mReq = 0;
 
     qDebug() <<  "VideoServicesTestAppView::fetchVideo END";
 }
@@ -285,6 +288,9 @@
             mErrorEdit->setText("Failed to send REQ");
             qDebug() <<  "VideoServicesTestAppView::browseCapturedVideosFinished: XQAiwRequest::send returned false";
         }
+        // req no longer needed, remove it
+        delete mReq;
+        mReq = 0;
     }
 }
 
@@ -324,6 +330,9 @@
         mErrorEdit->setText("Failed to send REQ");
         qDebug() <<  "VideoServicesTestAppView::fetchVideo: XQAiwRequest::send returned false";
     }
+    // req no longer needed, remove it
+    delete mReq;
+    mReq = 0;
 
     qDebug() <<  "VideoServicesTestAppView::fetchVideo END";
 }
@@ -364,7 +373,9 @@
         mErrorEdit->setText("Failed to send REQ");
         qDebug() <<  "VideoServicesTestAppView::fetchVideo: XQAiwRequest::send returned false";
     }
-
+    // req no longer needed, remove it
+    delete mReq;
+    mReq = 0;
     qDebug() <<  "VideoServicesTestAppView::fetchVideo END";
 }
 
@@ -432,6 +443,9 @@
             mErrorEdit->setText("Failed to send REQ");
             qDebug() <<  "VideoServicesTestAppView::browseCapturedVideosFinished: XQAiwRequest::send returned false";
         }
+        // req no longer needed, remove it
+        delete mReq;
+        mReq = 0;
     }
 }
 
@@ -498,6 +512,9 @@
             mErrorEdit->setText("Failed to send REQ");
             qDebug() <<  "VideoServicesTestAppView::browseCapturedVideosFinished: XQAiwRequest::send returned false";
         }
+        // req no longer needed, remove it
+        delete mReq;
+        mReq = 0;
     }
 }