File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change 14
14
***************************************************************************/
15
15
#include < QTabWidget>
16
16
#include < QVBoxLayout>
17
- #include < QPushButton>
18
17
#include < QShortcut>
19
18
#include < QKeySequence>
20
- #include < QSizePolicy>
21
19
22
- #include " qgsgrasstools.h"
23
20
#include " qtermwidget/qtermwidget.h"
24
- #include " qgsapplication.h"
25
21
#include " qgsgrass.h"
26
22
27
23
#include " qgsgrassshell.h"
@@ -83,7 +79,7 @@ void QgsGrassShell::initTerminal( QTermWidget *terminal )
83
79
QStringList env (" " );
84
80
QStringList args (" " );
85
81
86
- QString shellProgram = QString (" /usr/bin/grass%1%2 " ).arg (QgsGrass::versionMajor ()). arg ( QgsGrass::versionMinor ( ));
82
+ QString shellProgram = QString (" %1/etc/Init.sh " ).arg (:: getenv ( " GISBASE " ));
87
83
88
84
terminal->setShellProgram (shellProgram);
89
85
env << " TERM=vt100" ;
You can’t perform that action at this time.
0 commit comments