mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-29 13:20:54 +00:00
Use absoluteFilePath() when the filename is needed in the path
This commit is contained in:
@@ -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