mirror of
https://github.com/JulianGro/overte.git
synced 2025-06-05 10:30:42 +02:00
use absolutePath for absolute persist path
This commit is contained in:
parent
99d1fa08fd
commit
8ab15770b8
1 changed files with 1 additions and 1 deletions
|
@ -1145,7 +1145,7 @@ void OctreeServer::domainSettingsRequestComplete() {
|
||||||
// If persist filename does not exist, let's see if there is one beside the application binary
|
// If persist filename does not exist, let's see if there is one beside the application binary
|
||||||
// If there is, let's copy it over to our target persist directory
|
// If there is, let's copy it over to our target persist directory
|
||||||
QDir persistPath { _persistFilePath };
|
QDir persistPath { _persistFilePath };
|
||||||
QString absoluteFilePath = persistPath.path();
|
QString absoluteFilePath = persistPath.absolutePath();
|
||||||
|
|
||||||
if (persistPath.isRelative()) {
|
if (persistPath.isRelative()) {
|
||||||
// if the domain settings passed us a relative path, make an absolute path that is relative to the
|
// if the domain settings passed us a relative path, make an absolute path that is relative to the
|
||||||
|
|
Loading…
Reference in a new issue