Skip to content
Permalink
Browse files
warning if MSYS cannot be started
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 2b39dc8856c32c8a24691898562982c3a3de43e9
Showing with 6 additions and 0 deletions.
  1. +6 −0 src/plugins/grass/qgsgrasstools.cpp
@@ -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

0 comments on commit 2b39dc8

Please sign in to comment.