mirror of
https://github.com/KDE/konsole.git
synced 2026-05-03 20:26:45 -04:00
Change getenv to qgetenv for portable (ebn krazy)
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=846759
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user