mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-08-04 08:06:29 +08:00
Ref T103, Unified naming of directory functions
* some started with get/some not (removed get, get is normally used for our getters) * some used swift, getSwiftXZY dir (removed swift) * used full word "directory", not dir/directory mixed
This commit is contained in:
committed by
Mathew Sutcliffe
parent
debd9c802f
commit
a9198e4f13
@@ -372,7 +372,7 @@ namespace BlackSample
|
||||
|
||||
int CSamplesPerformance::samplesJsonModel(QTextStream &out)
|
||||
{
|
||||
const QString dir = CDirectoryUtils::getSwiftStaticDbFilesDir();
|
||||
const QString dir = CDirectoryUtils::staticDbFilesDirectory();
|
||||
const QString file = QDir(dir).filePath("models.json");
|
||||
QFile modelFile(file);
|
||||
Q_ASSERT_X(modelFile.exists(), Q_FUNC_INFO, "Model file does not exist");
|
||||
|
||||
Reference in New Issue
Block a user