mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-15 09:15:34 +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());
|
const QString d(CDirectoryUtils::shareDirectory());
|
||||||
if (d.isEmpty()) { return ""; }
|
if (d.isEmpty()) { return ""; }
|
||||||
const QFile file(QDir::cleanPath(d + QDir::separator() + "shared/boostrap/boostrap.json"));
|
const QFile file(QDir::cleanPath(d + QDir::separator() + "shared/bootstrap/bootstrap.json"));
|
||||||
Q_ASSERT_X(file.exists(), Q_FUNC_INFO, "missing dir");
|
Q_ASSERT_X(file.exists(), Q_FUNC_INFO, "missing bootstrap file");
|
||||||
return QFileInfo(file).absoluteFilePath();
|
return QFileInfo(file).absoluteFilePath();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user