--- a/launcher/src/enginewrapper.cpp Thu May 27 12:52:19 2010 +0300
+++ b/launcher/src/enginewrapper.cpp Fri Jun 11 13:39:09 2010 +0300
@@ -21,6 +21,7 @@
#include <shareuidialog.h>
#include <eikenv.h>
#include <hbprogressdialog.h>
+#include <hbaction.h>
#include <QDebug>
#include "launchermainwindow.h"
@@ -207,7 +208,7 @@
void EngineWrapper::doCompareDlls(HbAction* action)
{
HbInputDialog *dlg = static_cast<HbInputDialog*>(sender());
- if(action == dlg->primaryAction())
+ if( action && !action->text().compare("ok", Qt::CaseInsensitive) )
{
TFileName fileName( dlg->value().toString().utf16() );
TRAPD(error, mEngine->AnalyseDLLsL( fileName ) );