aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Roquetto <[email protected]>2013-03-11 08:40:06 -0300
committerEike Ziller <[email protected]>2013-03-11 13:34:56 +0100
commit1aba452b319abc0c003ec0203a5647301e3f5e5b (patch)
tree9c36924891da4d021ef6b68029f2834ac4f80a99
parentd7d15e57cf77e8f95e48c67c286f876281d5d3a2 (diff)
BlackBerry: Handle unregistered error
Change-Id: I0caf7ff62825124ac08a7b434dae49f28244664e Reviewed-by: Tobias Hunger <[email protected]> Reviewed-by: Mehdi Fekari <[email protected]> Reviewed-by: Nicolas Arnaud-Cormos <[email protected]> Reviewed-by: Eike Ziller <[email protected]>
-rw-r--r--src/plugins/qnx/blackberrydebugtokenrequester.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/qnx/blackberrydebugtokenrequester.cpp b/src/plugins/qnx/blackberrydebugtokenrequester.cpp
index b83cb371383..4bb368e4368 100644
--- a/src/plugins/qnx/blackberrydebugtokenrequester.cpp
+++ b/src/plugins/qnx/blackberrydebugtokenrequester.cpp
@@ -37,6 +37,7 @@ static const char ERR_WRONG_CSK_PASS[] = "The signature on the code signing requ
static const char ERR_WRONG_KEYSTORE_PASS[] = "Failed to decrypt keystore, invalid password";
static const char ERR_ILLEGAL_DEVICE_PIN[] = "Illegal device PIN";
static const char ERR_NETWORK_UNREACHABLE[] = "Network is unreachable";
+static const char ERR_NOT_YET_REGISTGERED[] = "Not yet registered to request debug tokens";
}
namespace Qnx {
@@ -49,6 +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);
}
void BlackBerryDebugTokenRequester::requestDebugToken(const QString &path,