mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-20 11:01:08 +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
@@ -108,7 +108,7 @@ int main(int argc, char *argv[])
|
||||
argv_mod[i] = argv[i];
|
||||
|
||||
char arg[] = "-platformpluginpath";
|
||||
QString path = QFileInfo(argv[0]).absoluteDir().absolutePath();
|
||||
QString path = QFileInfo(argv[0]).absolutePath();
|
||||
QByteArray pathChars = path.toUtf8();
|
||||
|
||||
argv_mod[argc - 2] = arg;
|
||||
|
||||
Reference in new issue
Block a user