forked from qt-creator/qt-creator
BlackBerry: Fix missing error string
Change-Id: I674f90eb871fdb0cbb84207a402d434aca966d1e Reviewed-by: Nicolas Arnaud-Cormos <nicolas@kdab.com> Reviewed-by: Mehdi Fekari <mfekari@rim.com> Reviewed-by: Tobias Nätterlund <tobias.naetterlund@kdab.com>
This commit is contained in:
committed by
Rafael Roquetto
parent
17cd161a9d
commit
11fa9797ec
@@ -237,6 +237,9 @@ void BlackBerryDebugTokenRequestDialog::debugTokenArrived(int status)
|
||||
case BlackBerryDebugTokenRequester::InferiorProcessWriteError:
|
||||
errorString += tr("Failed to communicate with the inferior process.");
|
||||
break;
|
||||
case BlackBerryDebugTokenRequester::NotYetRegistered:
|
||||
errorString += tr("Not yet registered to request debug tokens.");
|
||||
break;
|
||||
case BlackBerryDebugTokenRequester::UnknownError:
|
||||
errorString += tr("An unknwon error has occurred.");
|
||||
break;
|
||||
|
||||
@@ -50,7 +50,7 @@ BlackBerryDebugTokenRequester::BlackBerryDebugTokenRequester(QObject *parent) :
|
||||
addErrorStringMapping(QLatin1String(ERR_WRONG_KEYSTORE_PASS), WrongKeystorePassword);
|
||||
addErrorStringMapping(QLatin1String(ERR_WRONG_KEYSTORE_PASS), WrongKeystorePassword);
|
||||
addErrorStringMapping(QLatin1String(ERR_NETWORK_UNREACHABLE), NetworkUnreachable);
|
||||
addErrorStringMapping(QLatin1String(ERR_NOT_YET_REGISTGERED), BlackBerryNdkProcess::UnknownError);
|
||||
addErrorStringMapping(QLatin1String(ERR_NOT_YET_REGISTGERED), NotYetRegistered);
|
||||
}
|
||||
|
||||
void BlackBerryDebugTokenRequester::requestDebugToken(const QString &path,
|
||||
|
||||
@@ -47,7 +47,8 @@ public:
|
||||
WrongCskPassword = UserStatus,
|
||||
WrongKeystorePassword,
|
||||
NetworkUnreachable,
|
||||
IllegalPin
|
||||
IllegalPin,
|
||||
NotYetRegistered
|
||||
};
|
||||
|
||||
explicit BlackBerryDebugTokenRequester(QObject *parent = 0);
|
||||
|
||||
Reference in New Issue
Block a user