forked from qt-creator/qt-creator
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:
@@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user