From fbb17becf9ee7f56bf1314d9be741cb6224f2f3e Mon Sep 17 00:00:00 2001 From: baldurk Date: Wed, 13 Jan 2021 12:50:34 +0000 Subject: [PATCH] Only display base filename in loading progress dialog, not whole path --- qrenderdoc/Code/CaptureContext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qrenderdoc/Code/CaptureContext.cpp b/qrenderdoc/Code/CaptureContext.cpp index affeb919b..d1ad1d2c2 100644 --- a/qrenderdoc/Code/CaptureContext.cpp +++ b/qrenderdoc/Code/CaptureContext.cpp @@ -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(); });