Fix incompatibility with Qt v5.5.

This commit is contained in:
Bill Somerville 2018-10-03 19:18:54 +01:00
parent 617b845a85
commit 214f517b90
1 changed files with 1 additions and 1 deletions

View File

@ -205,7 +205,7 @@ public:
}
else
{
throw std::runtime_error {QObject::tr ("Failed to open LotW users CSV file: '%1'").arg (f.fileName ()).toLocal8Bit ()};
throw std::runtime_error {QObject::tr ("Failed to open LotW users CSV file: '%1'").arg (f.fileName ()).toStdString ()};
}
return result;
}