Skip to content
This repository was archived by the owner on Jun 3, 2024. It is now read-only.

Commit d247ac1

Browse files
committed
CloneDlg: use QStringLiteral
1 parent 9c9205f commit d247ac1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/Remotes/CloneRepositoryDlg.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ void CloneDlg::accept()
161161
// TODO: implement a ProgressDlg::minimumDuration
162162
mProgress->show();
163163

164-
if( repoName.endsWith( QLatin1String( ".git" ) ) )
164+
if( repoName.endsWith( QStringLiteral( ".git" ) ) )
165165
repoName = repoName.left( repoName.length() - 4 );
166166

167167
if( repoName.lastIndexOf( QChar( L'/' ) ) != -1 )

0 commit comments

Comments
 (0)