launcher/src/enginewrapper.cpp
branchGCC_SURGE
changeset 37 c20154ccf3c0
parent 23 c9bf25a20c9f
equal deleted inserted replaced
20:ba8a586c45f1 37:c20154ccf3c0
    19 #include <hbinputdialog.h>
    19 #include <hbinputdialog.h>
    20 #include <bautils.h>
    20 #include <bautils.h>
    21 #include <shareuidialog.h>
    21 #include <shareuidialog.h>
    22 #include <eikenv.h>
    22 #include <eikenv.h>
    23 #include <hbprogressdialog.h>
    23 #include <hbprogressdialog.h>
       
    24 #include <hbaction.h>
    24 #include <QDebug>
    25 #include <QDebug>
    25 
    26 
    26 #include "launchermainwindow.h"
    27 #include "launchermainwindow.h"
    27 #include "notifications.h"
    28 #include "notifications.h"
    28 #include "enginewrapper.h"
    29 #include "enginewrapper.h"
   205 // ---------------------------------------------------------------------------
   206 // ---------------------------------------------------------------------------
   206 
   207 
   207 void EngineWrapper::doCompareDlls(HbAction* action)
   208 void EngineWrapper::doCompareDlls(HbAction* action)
   208     {
   209     {
   209     HbInputDialog *dlg = static_cast<HbInputDialog*>(sender());
   210     HbInputDialog *dlg = static_cast<HbInputDialog*>(sender());
   210     if(action == dlg->primaryAction())
   211     if( action && !action->text().compare("ok", Qt::CaseInsensitive) )
   211         {
   212         {
   212         TFileName fileName( dlg->value().toString().utf16() );
   213         TFileName fileName( dlg->value().toString().utf16() );
   213         TRAPD(error,  mEngine->AnalyseDLLsL( fileName ) );
   214         TRAPD(error,  mEngine->AnalyseDLLsL( fileName ) );
   214         if( error != KErrNone )
   215         if( error != KErrNone )
   215             { 
   216             {