--- a/browserui/browser/FeedsSrc/FeedsClientUtilities.cpp Mon Mar 30 12:49:49 2009 +0300
+++ b/browserui/browser/FeedsSrc/FeedsClientUtilities.cpp Fri May 08 08:18:43 2009 +0300
@@ -116,6 +116,8 @@
TPtr ptr( iMimeTypes->Des() );
ptr.Append( KSupportedMimeTypes() );
ptr.ZeroTerminate();
+
+ iWaitDialog = CFeedsWaitDialog::NewL(*this);
}
// -----------------------------------------------------------------------------
@@ -622,11 +624,9 @@
iCanceledRequest = CTransaction::ENone;
return;
}
- // Close the wait dialog.
- if (iWaitDialog)
- {
- iWaitDialog->Close();
- }
+
+ iWaitDialog->Close();
+
iIsWaitDialogDisplayed = EFalse;
// Show the view if everything went ok.
@@ -1517,11 +1517,7 @@
iAppUI.AddViewL( iFolderView ); // transfer ownership to CAknViewAppUi
}
- // Create the WaitDialog
- if (iWaitDialog == NULL)
- {
- iWaitDialog = CFeedsWaitDialog::NewL(*this);
- }
+
// Connect to the server.
ConnectToServerL(aGetRootFolder);