Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit 2966110d authored by David Redondo's avatar David Redondo 🏎 Committed by Nate Graham

Fix bug in filename template parser

Summary: Quick fix for a bug in the parser. Before if the template included multiple `%Nd` expressions only the first would be parsed and all occurences of it replaced.

Test Plan:

Reviewers: #spectacle, ngraham

Reviewed By: #spectacle, ngraham

Tags: #spectacle

Differential Revision:
parent d8f5642d
......@@ -189,7 +189,7 @@ QString ExportManager::makeAutosaveFilename()
QRegularExpressionMatch paddingMatch;
if (result.indexOf(paddingRE, 0, &paddingMatch) > -1) {
while (result.indexOf(paddingRE, 0, &paddingMatch) > -1) {
int highestFileNumber = 0;
// determine padding value
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment