Merge pull request #1301 from daleglass/qt5-fix-qdir-operator-assign

Fix QDir::operator= is deprecated
This commit is contained in:
Kalila 2021-08-19 20:48:14 -04:00 committed by GitHub
commit 6b0f4c107b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1967,7 +1967,7 @@ Application::Application(int& argc, char** argv, QElapsedTimer& startupTimer, bo
}
QString scriptsSwitch = QString("--").append(SCRIPTS_SWITCH);
_defaultScriptsLocation = getCmdOption(argc, constArgv, scriptsSwitch.toStdString().c_str());
_defaultScriptsLocation.setPath(getCmdOption(argc, constArgv, scriptsSwitch.toStdString().c_str()));
// Make sure we don't time out during slow operations at startup
updateHeartbeat();