launcher/src/enginewrapper.cpp
branchGCC_SURGE
changeset 37 c20154ccf3c0
parent 23 c9bf25a20c9f
--- a/launcher/src/enginewrapper.cpp	Fri Jun 11 16:29:34 2010 +0100
+++ b/launcher/src/enginewrapper.cpp	Thu Jul 22 16:33:59 2010 +0100
@@ -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 ) );