Skip to content

Commit

Permalink
use canonical path also for input raster check
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@4902 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
rblazek committed Feb 21, 2006
1 parent 5d1a2db commit 9e7c45f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/plugins/grass/qgsgrassmodule.cpp
Expand Up @@ -1325,6 +1325,7 @@ void QgsGrassModuleInput::updateQgisLayers()
//QDir locDir ( sep + split.join ( QString(sep) ) ) ;
//QString loc = locDir.canonicalPath();
QString loc = source.remove ( QRegExp("/[^/]+/[^/]+/[^/]+$") );
loc = QDir(loc).canonicalPath();

QDir curlocDir ( QgsGrass::getDefaultGisdbase() + sep + QgsGrass::getDefaultLocation() );
QString curloc = curlocDir.canonicalPath();
Expand Down

0 comments on commit 9e7c45f

Please sign in to comment.