File tree 1 file changed +9
-0
lines changed
1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -74,6 +74,7 @@ typedef SInt32 SRefCon;
74
74
75
75
static const char * const ident_ = " $Id$" ;
76
76
77
+ #ifndef WIN32
77
78
/* * print usage text
78
79
*/
79
80
void usage ( std::string const & appName )
@@ -100,6 +101,7 @@ void usage( std::string const & appName )
100
101
101
102
102
103
} // usage()
104
+ #endif
103
105
104
106
105
107
// ///////////////////////////////////////////////////////////////
@@ -356,6 +358,13 @@ int main( int argc, char *argv[] )
356
358
}
357
359
}
358
360
}
361
+ #else
362
+ for (int i=1 ; i<argc; i++) {
363
+ #ifdef QGISDEBUG
364
+ QgsDebugMsg ( QString ( " %1: %2" ).arg ( i ).arg ( argv[i] ) );
365
+ #endif
366
+ myFileList.append ( QDir::convertSeparators ( QFileInfo ( QFile::decodeName ( argv[i] ) ).absoluteFilePath () ) );
367
+ }
359
368
#endif // WIN32
360
369
361
370
// ///////////////////////////////////////////////////////////////////
You can’t perform that action at this time.
0 commit comments