Fixed build of grass provider and plugin on linux i've broken recently.

git-svn-id: http://svn.osgeo.org/qgis/trunk@6663 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
wonder 2007-02-22 14:54:26 +00:00
parent e93343b53a
commit 468976bdf0
2 changed files with 7 additions and 1 deletions

View File

@ -167,6 +167,10 @@ void QgsGrassTools::moduleClicked( Q3ListViewItem * item )
if ( name.length() == 0 ) return; // Section
#ifndef WIN32
QgsGrassShell* sh = 0;
#endif
QString path = QgsApplication::pkgDataPath() + "/grass/modules/" + name;
#ifdef QGISDEBUG
std::cerr << "path = " << path.ascii() << std::endl;

View File

@ -412,9 +412,11 @@ QString QgsGrass::openMapset ( QString gisdbase, QString location, QString mapse
// TODO better wait
while ( process->isRunning () ) { }
#ifdef QGISDEBUG
#ifndef WIN32
int status = process->exitStatus ();
#ifdef QGISDEBUG
std::cerr << "status = " << status << std::endl;
#endif
#endif
delete process;