mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 15:25:35 +08:00
Ref T180, typo in directory name, causing assert
This commit is contained in:
@@ -151,8 +151,8 @@ namespace BlackMisc
|
||||
{
|
||||
const QString d(CDirectoryUtils::shareDirectory());
|
||||
if (d.isEmpty()) { return ""; }
|
||||
const QFile file(QDir::cleanPath(d + QDir::separator() + "shared/boostrap/boostrap.json"));
|
||||
Q_ASSERT_X(file.exists(), Q_FUNC_INFO, "missing dir");
|
||||
const QFile file(QDir::cleanPath(d + QDir::separator() + "shared/bootstrap/bootstrap.json"));
|
||||
Q_ASSERT_X(file.exists(), Q_FUNC_INFO, "missing bootstrap file");
|
||||
return QFileInfo(file).absoluteFilePath();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user