Skip to content

Commit 22cb38b

Browse files
committedApr 7, 2013
deduce plugin directory from a plugin that actually still exists
1 parent 5e39bac commit 22cb38b

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed
 

‎cmake/FindQGIS.cmake

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ IF(WIN32)
1515
#MESSAGE("Searching for QGIS in $ENV{PROGRAMFILES}/Quantum GIS")
1616
IF (MINGW)
1717
FIND_PATH(QGIS_PLUGIN_DIR
18-
NAMES libnortharrowplugin.dll
18+
NAMES libdelimitedtextplugin.dll
1919
PATHS
2020
"$ENV{PROGRAMFILES}/Quantum GIS/plugins"
2121
)
@@ -38,7 +38,7 @@ IF(WIN32)
3838

3939
IF (MSVC)
4040
FIND_PATH(QGIS_PLUGIN_DIR
41-
NAMES northarrowplugin.dll
41+
NAMES delimitedtextplugin.dll
4242
PATHS
4343
"$ENV{OSGEO4W_ROOT}/apps/qgis/plugins"
4444
"$ENV{PROGRAMFILES}/Quantum GIS/plugins"
@@ -82,7 +82,7 @@ ELSE(WIN32)
8282
SET (QGIS_MAC_PATH /Applications/QGIS.app/Contents)
8383
#MESSAGE("Searching for QGIS in /usr/bin; /usr/local/bin")
8484
FIND_PATH(QGIS_PLUGIN_DIR
85-
NAMES libnortharrowplugin.so
85+
NAMES libdelimitedtextplugin.so
8686
PATHS
8787
/usr/lib64/qgis/plugins
8888
/usr/lib/qgis

‎python/plugins/sextante/grass/GrassUtils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -340,10 +340,10 @@ def checkGrassIsInstalled(ignoreRegistrySettings=False):
340340
return ("The specified GRASS folder does not contain a valid set of GRASS modules.\n"
341341
+ "Please, go to the SEXTANTE settings dialog, and check that the GRASS\n"
342342
+ "folder is correctly configured")
343-
343+
344344
settings = QSettings()
345345
if not ignoreRegistrySettings:
346-
GRASS_INSTALLED = "/SextanteQGIS/GrassInstalled"
346+
GRASS_INSTALLED = "/SextanteQGIS/GrassInstalled"
347347
if settings.contains(GRASS_INSTALLED):
348348
return
349349

‎python/plugins/sextante/saga/SagaUtils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ def checkSagaIsInstalled(ignoreRegistrySettings=False):
137137

138138
settings = QSettings()
139139
if not ignoreRegistrySettings:
140-
SAGA_INSTALLED = "/SextanteQGIS/SagaInstalled"
140+
SAGA_INSTALLED = "/SextanteQGIS/SagaInstalled"
141141
if settings.contains(SAGA_INSTALLED):
142142
return
143143

0 commit comments

Comments
 (0)
Please sign in to comment.