diff --git a/ground/gcs/src/app/main.cpp b/ground/gcs/src/app/main.cpp index db01fbaab..004678383 100644 --- a/ground/gcs/src/app/main.cpp +++ b/ground/gcs/src/app/main.cpp @@ -209,7 +209,7 @@ inline QString msgSendArgumentFailed() "Unable to send command line arguments to the already running instance. It appears to be not responding."); } -inline QString msgLogfileOpenFailed(QString &fileName) +inline QString msgLogfileOpenFailed(const QString &fileName) { return QCoreApplication::translate("Application", "Failed to open log file %1").arg(fileName); }