Added error string to output, to help resolving issue #1217

This commit is contained in:
Damjan Adamic
2014-06-08 16:33:34 +02:00
parent 5f0f5de111
commit 2248c84b8f
+2 -2
View File
@@ -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();