Showing with 7 additions and 7 deletions.
  1. +2 −2 src/plugins/grass/qgsgrassmodule.cpp
  2. +5 −5 src/plugins/grass/qgsgrasstoolsbase.ui
4 changes: 2 additions & 2 deletions src/plugins/grass/qgsgrassmodule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1638,7 +1638,7 @@ void QgsGrassModule::run()
setDirectLibraryPath( environment );
#ifdef Q_OS_WIN
variables << "PATH";
#elif Q_OS_MAC
#elif defined(Q_OS_MAC)
variables << "DYLD_LIBRARY_PATH";
#else
variables << "LD_LIBRARY_PATH";
Expand Down Expand Up @@ -2003,7 +2003,7 @@ void QgsGrassModule::setDirectLibraryPath( QProcessEnvironment & environment )
#ifdef Q_OS_WIN
pathVariable = "PATH";
separator = ";";
#elif Q_OS_MAC
#elif defined(Q_OS_MAC)
pathVariable = "DYLD_LIBRARY_PATH";
separator = ":";
#else
Expand Down
10 changes: 5 additions & 5 deletions src/plugins/grass/qgsgrasstoolsbase.ui
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<item row="0" column="0">
<widget class="QTabWidget" name="mTabWidget">
<property name="currentIndex">
<number>3</number>
<number>0</number>
</property>
<widget class="QWidget" name="mModulesTreeTab">
<attribute name="title">
Expand All @@ -33,10 +33,10 @@
<item row="0" column="0">
<widget class="QTreeWidget" name="mModulesTree">
<property name="indentation">
<number>8</number>
<number>16</number>
</property>
<property name="rootIsDecorated">
<bool>false</bool>
<bool>true</bool>
</property>
<property name="wordWrap">
<bool>true</bool>
Expand Down Expand Up @@ -88,10 +88,10 @@
<item row="0" column="0">
<widget class="QTreeWidget" name="mDirectModulesTree">
<property name="indentation">
<number>8</number>
<number>16</number>
</property>
<property name="rootIsDecorated">
<bool>false</bool>
<bool>true</bool>
</property>
<property name="wordWrap">
<bool>true</bool>
Expand Down