Added error string to output, to help resolving issue #1217
This commit is contained in:
@@ -159,11 +159,11 @@ void avrOutputDialog::doCopy()
|
|||||||
dest.close();
|
dest.close();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
QMessageBox::warning(this, tr("Error"),tr("Cannot write destination"));
|
QMessageBox::warning(this, tr("Error"),tr("Cannot write destination") + ": " + dest.errorString());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
QMessageBox::warning(this, tr("Error"),tr("Cannot open source file"));
|
QMessageBox::warning(this, tr("Error"),tr("Cannot open source file") + ": " + source.errorString());
|
||||||
}
|
}
|
||||||
|
|
||||||
source.close();
|
source.close();
|
||||||
|
|||||||
Reference in New Issue
Block a user