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