File tree 1 file changed +7
-1
lines changed
1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -137,6 +137,11 @@ QFileInfo defaultProjectFile()
137
137
QStringList nameFilterList;
138
138
nameFilterList << " *.qgs" ;
139
139
QFileInfoList projectFiles = currentDir.entryInfoList ( nameFilterList, QDir::Files, QDir::Name );
140
+ QgsDebugMsg ( " Project files found:" );
141
+ for ( int x = 0 ; x < projectFiles.size (); x++ )
142
+ {
143
+ QgsDebugMsg ( projectFiles.at ( x ).absoluteFilePath () );
144
+ }
140
145
if ( projectFiles.size () < 1 )
141
146
{
142
147
return QFileInfo ();
@@ -224,6 +229,7 @@ int main( int argc, char * argv[] )
224
229
if ( projectFileInfo.exists () )
225
230
{
226
231
defaultConfigFilePath = projectFileInfo.absoluteFilePath ();
232
+ QgsDebugMsg ( " Using default project file: " + defaultConfigFilePath );
227
233
}
228
234
else
229
235
{
@@ -256,7 +262,7 @@ int main( int argc, char * argv[] )
256
262
{
257
263
printRequestInfos (); // print request infos if in debug mode
258
264
#ifdef QGSMSDEBUG
259
- QgsDebugMsg ( QString ( " Test font %1loaded from testdata.qrc" ).arg ( testFontLoaded ? " " : " NOT " ) );
265
+ QgsDebugMsg ( QString ( " Test font %1 loaded from testdata.qrc" ).arg ( testFontLoaded ? " " : " NOT " ) );
260
266
#endif
261
267
262
268
// use QgsGetRequestHandler in case of HTTP GET and QgsSOAPRequestHandler in case of HTTP POST
You can’t perform that action at this time.
0 commit comments