diff --git a/LotWUsers.cpp b/LotWUsers.cpp index 11b830b55..a49d3d1a0 100644 --- a/LotWUsers.cpp +++ b/LotWUsers.cpp @@ -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; }