Added device error message to file open error messages

Thanks to  Mike W9MDB for contributing  this as a patch.  Also added a
few more in elsewhere.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4883 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Bill Somerville
2015-01-06 19:00:46 +00:00
parent 142f9eb2bd
commit f88870df60
5 changed files with 62 additions and 39 deletions
+1 -1
View File
@@ -145,7 +145,7 @@ void Astro::astroUpdate(QDateTime t, QString mygrid, QString hisgrid,
if (!f.open (QIODevice::WriteOnly | QIODevice::Text))
{
QMessageBox mb;
mb.setText ("Cannot open \"" + f.fileName () + "\".");
mb.setText ("Cannot open \"" + f.fileName () + "\" for writing:" + f.errorString ());
mb.exec();
return;
}