mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-07 22:43:49 +00:00
Use absoluteFilePath() when the filename is needed in the path
This commit is contained in:
1 parent
2ccc157114
commit
27f1aa71a6
2 files changed
+3
-3
No files matched your search
@@ -141,7 +141,7 @@ void CaptureContext::LoadLogfileThreaded(const QString &logFile, const QString &
|
||||
m_LoadInProgress = true;
|
||||
|
||||
if(fi.exists())
|
||||
Config.Serialize(fi.absolutePath());
|
||||
Config.Serialize(fi.absoluteFilePath());
|
||||
|
||||
float loadProgress = 0.0f;
|
||||
float postloadProgress = 0.0f;
|
||||
@@ -200,7 +200,7 @@ void CaptureContext::LoadLogfileThreaded(const QString &logFile, const QString &
|
||||
PersistantConfig::AddRecentFile(Config.RecentLogFiles, origFilename, 10);
|
||||
|
||||
if(fi.exists())
|
||||
Config.Serialize(fi.absolutePath());
|
||||
Config.Serialize(fi.absoluteFilePath());
|
||||
}
|
||||
|
||||
m_EventID = 0;
|
||||
|
||||
Reference in new issue
Block a user