mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 10:00:40 +00:00
Only display base filename in loading progress dialog, not whole path
This commit is contained in:
@@ -728,7 +728,7 @@ void CaptureContext::LoadCapture(const rdcstr &captureFile, const ReplayOptions
|
||||
QElapsedTimer loadTimer;
|
||||
loadTimer.start();
|
||||
|
||||
ShowProgressDialog(m_MainWindow, tr("Loading Capture: %1").arg(origFilename),
|
||||
ShowProgressDialog(m_MainWindow, tr("Loading Capture: %1").arg(QFileInfo(origFilename).fileName()),
|
||||
[this]() { return !m_LoadInProgress; },
|
||||
[this]() { return UpdateLoadProgress(); });
|
||||
|
||||
|
||||
Reference in New Issue
Block a user