Qnx: Fix for Upload Debug Token action in BlackBerry Device Configuration

Task-number: QTCREATORBUG-9975
Change-Id: I937f6d99730f4802ef9b1cf2b91145762cd4934e
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Reviewed-by: David Kaspar <dkaspar@blackberry.com>
This commit is contained in:
David Kaspar
2013-08-12 17:06:31 +02:00
parent 5f353cc41c
commit e6641ac5d4

View File

@@ -146,7 +146,7 @@ void BlackBerryDeviceConfigurationWidget::requestDebugToken()
void BlackBerryDeviceConfigurationWidget::uploadDebugToken() void BlackBerryDeviceConfigurationWidget::uploadDebugToken()
{ {
// check the debug token path before even laucnhing the uploader process // check the debug token path before even laucnhing the uploader process
if (!QFileInfo(ui->pwdLineEdit->text()).exists()) { if (!QFileInfo(ui->debugToken->fileName().toString()).exists()) {
QMessageBox::critical(this, tr("Error"), tr("Invalid debug token path.")); QMessageBox::critical(this, tr("Error"), tr("Invalid debug token path."));
return; return;
} }