Only display base filename in loading progress dialog, not whole path

This commit is contained in:
baldurk
2021-01-13 12:50:34 +00:00
parent 0b12a2d16f
commit fbb17becf9
+1 -1
View File
@@ -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(); });