mirror of
https://github.com/lubosz/overte.git
synced 2025-04-23 05:24:06 +02:00
Fix location that server content version is looked for
This commit is contained in:
parent
7c791755c0
commit
1699299de9
1 changed files with 2 additions and 1 deletions
|
@ -1261,8 +1261,9 @@ Application::Application(int& argc, char** argv, QElapsedTimer& startupTimer) :
|
|||
|
||||
auto initializeLocation = [this]() {
|
||||
// Get sandbox content set version, if available
|
||||
auto acDirPath = PathUtils::getRootDataDirectory() + qApp->organizationName() + "/assignment-client/";
|
||||
auto acDirPath = PathUtils::getRootDataDirectory() + BuildInfo::MODIFIED_ORGANIZATION + "/assignment-client/";
|
||||
auto contentVersionPath = acDirPath + "content-version.txt";
|
||||
qDebug() << "Checking " << contentVersionPath << " for content version";
|
||||
auto contentVersion = 0;
|
||||
QFile contentVersionFile(contentVersionPath);
|
||||
if (contentVersionFile.open(QIODevice::ReadOnly | QIODevice::Text)) {
|
||||
|
|
Loading…
Reference in a new issue