Skip to content

Commit

Permalink
removing static from regex
Browse files Browse the repository at this point in the history
  • Loading branch information
VitorVieiraZ committed Jun 26, 2024
1 parent 345b0d8 commit e01a2de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/attributes/attributecontroller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1513,7 +1513,7 @@ void AttributeController::renamePhotos()
QString newName = QStringLiteral( "%1.%2" ).arg( val.toString() ).arg( fi.completeSuffix() );

// Remove leading slashes from newName following issue #3415
static const QRegularExpression leadingSlashes( "^/+" );
const QRegularExpression leadingSlashes( "^/+" );
newName.remove( leadingSlashes );

const QString dst = InputUtils::getAbsolutePath( newName, prefix );
Expand Down

1 comment on commit e01a2de

@inputapp-bot
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

iOS - version 24.6.636411 just submitted!

Please sign in to comment.