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()
65
65
66
66
if ( mAPISFilesList .isEmpty () )
67
67
{
68
- mPapFile = QgsApplication::pkgDataPath () + " /python/qsci_apis/pyqgis.pap" ;
68
+ mPapFile = QgsApplication::pkgDataPath () + QStringLiteral ( " /python/qsci_apis/pyqgis.pap" ) ;
69
69
apis->loadPrepared ( mPapFile );
70
70
}
71
71
else if ( mAPISFilesList .length () == 1 && mAPISFilesList [0 ].right ( 3 ) == QLatin1String ( " pap" ) )
72
72
{
73
73
if ( !QFileInfo::exists ( mAPISFilesList [0 ] ) )
74
74
{
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 ) ) );
76
76
return ;
77
77
}
78
78
mPapFile = mAPISFilesList [0 ];
You can’t perform that action at this time.
0 commit comments