Skip to content

Commit 53cb9ed

Browse files
committedJul 14, 2017
Use QStringLiteral
1 parent bf94df8 commit 53cb9ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/gui/qgscodeeditorpython.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,14 @@ void QgsCodeEditorPython::setSciLexerPython()
6565

6666
if ( mAPISFilesList.isEmpty() )
6767
{
68-
mPapFile = QgsApplication::pkgDataPath() + "/python/qsci_apis/pyqgis.pap";
68+
mPapFile = QgsApplication::pkgDataPath() + QStringLiteral( "/python/qsci_apis/pyqgis.pap" );
6969
apis->loadPrepared( mPapFile );
7070
}
7171
else if ( mAPISFilesList.length() == 1 && mAPISFilesList[0].right( 3 ) == QLatin1String( "pap" ) )
7272
{
7373
if ( !QFileInfo::exists( mAPISFilesList[0] ) )
7474
{
75-
QgsDebugMsg( QString( "The apis file %1 not found" ).arg( mAPISFilesList.at( 0 ) ) );
75+
QgsDebugMsg( QStringLiteral( "The apis file %1 not found" ).arg( mAPISFilesList.at( 0 ) ) );
7676
return;
7777
}
7878
mPapFile = mAPISFilesList[0];

0 commit comments

Comments
 (0)
Please sign in to comment.