mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
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:
parent
e93343b53a
commit
468976bdf0
@ -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;
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user