--- a/application/src/PodcastListView.cpp Mon Nov 15 23:47:20 2010 +0000
+++ b/application/src/PodcastListView.cpp Tue Nov 16 00:03:16 2010 +0000
@@ -32,6 +32,7 @@
#include <akntitle.h>
#include <akniconarray.h>
#include <EIKCLBD.H>
+#include <aknmessagequerydialog.h>
#include "buildno.h"
@@ -422,13 +423,22 @@
void CPodcastListView::RunAboutDialogL()
{
- CAknNoteDialog* dlg = new(ELeave) CAknNoteDialog();
- HBufC *aboutTextTemplate = iEikonEnv->AllocReadResourceLC(R_ABOUT_TEXT);
+ HBufC *aboutTextTitle = iEikonEnv->AllocReadResourceLC(R_ABOUT_TITLE);
+
+ HBufC *aboutTextTemplate = iEikonEnv->AllocReadResourceLC(R_ABOUT_BODY);
TBuf<255> aboutText;
aboutText.Format(*aboutTextTemplate, BUILD_NO);
- dlg->SetTextL(aboutText);
CleanupStack::PopAndDestroy(aboutTextTemplate);
- dlg->ExecuteLD(R_DLG_ABOUT);
+
+ HBufC *aboutTextBody = aboutText.AllocLC();
+
+ CAknMessageQueryDialog* note = new ( ELeave ) CAknMessageQueryDialog(aboutTextBody, aboutTextTitle );
+
+ note->PrepareLC( R_SHOW_INFO_NOTE ); // Adds to CleanupStack
+ note->RunLD();
+
+ CleanupStack::Pop(aboutTextBody);
+ CleanupStack::Pop(aboutTextTitle);
}
void CPodcastListView::SetEmptyTextL(TInt aResourceId)