File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 ];
You can’t perform that action at this time.
0 commit comments