Change getenv to qgetenv for portable (ebn krazy)

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=846759
This commit is contained in:
Kurt Hindenburg
2008-08-14 03:55:59 +00:00
parent 26e66120e7
commit 877abc9ec6
5 changed files with 7 additions and 7 deletions

View File

@@ -158,7 +158,7 @@ static bool expandEnv( QString &text )
int len = pos2 - pos;
QString key = text.mid( pos+1, len-1);
QString value =
QString::fromLocal8Bit( ::getenv(key.toLocal8Bit()) );
QString::fromLocal8Bit( qgetenv(key.toLocal8Bit()) );
if ( !value.isEmpty() ) {
expanded = true;