mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-08 06:53:41 +00:00
Only use base filename, not full path
This commit is contained in:
1 parent
3b7eaaa4fb
commit
b428dfd139
2 files changed
+2
-2
No files matched your search
@@ -89,7 +89,7 @@ ShaderViewer::ShaderViewer(CaptureContext *ctx, ShaderReflection *shader, Shader
|
||||
QWidget *sel = m_DisassemblyView;
|
||||
for(auto &f : shader->DebugInfo.files)
|
||||
{
|
||||
QString name = ToQStr(f.first);
|
||||
QString name = QFileInfo(ToQStr(f.first)).fileName();
|
||||
QString text = ToQStr(f.second);
|
||||
|
||||
ScintillaEdit *scintilla = MakeEditor("scintilla" + name, text, true);
|
||||
|
||||
Reference in new issue
Block a user