Skip to content

Commit

Permalink
warning if MSYS cannot be started
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4918 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
rblazek committed Feb 28, 2006
1 parent fea8a17 commit 2b39dc8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/plugins/grass/qgsgrasstools.cpp
Expand Up @@ -198,6 +198,12 @@ void QgsGrassTools::moduleClicked( Q3ListViewItem * item )
{
QProcess *proc = new QProcess(this);
proc->start (msysPath);
proc->waitForStarted();
if ( proc->state() != QProcess::Running )
{
QMessageBox::warning( 0, "Warning",
"Cannot start MSYS (" + msysPath + ")" );
}
}
return;
#else
Expand Down

0 comments on commit 2b39dc8

Please sign in to comment.