Revert "Port to KF5/Qt5"

This reverts commit 4adfbe84bd.

This work will go into a new branch instead
This commit is contained in:
Alex Richardson
2013-08-13 23:26:19 +02:00
parent a9ece1f56c
commit ab5e15b1b7
31 changed files with 48 additions and 269 deletions

View File

@@ -141,7 +141,7 @@ bool ShellCommand::expandEnv(QString& text)
const int len = endPos - dollarPos;
const QString key = text.mid(dollarPos + 1, len - 1);
const QString value = QString::fromLocal8Bit(qgetenv(key.toLocal8Bit().constData()));
const QString value = QString::fromLocal8Bit(qgetenv(key.toLocal8Bit()));
if (!value.isEmpty()) {
text.replace(dollarPos, len, value);