Maemo: Some adaptations for Harmattan.

Reviewed-by: kh1
This commit is contained in:
Christian Kandeler
2010-08-24 17:41:19 +02:00
parent 0a85b90d98
commit 26aec74359
3 changed files with 7 additions and 7 deletions

View File

@@ -48,8 +48,8 @@ QString MaemoGlobal::remoteSudo()
QString MaemoGlobal::remoteCommandPrefix(const QString &commandFilePath)
{
return QString::fromLocal8Bit("%1 chmod a+x %2 && source /etc/profile && DISPLAY=:0.0 ")
.arg(remoteSudo()).arg(commandFilePath);
return QString::fromLocal8Bit("%1 chmod a+x %2 && source /etc/profile; "
"source /home/user/.profile; ").arg(remoteSudo(), commandFilePath);
}
QString MaemoGlobal::remoteEnvironment(const QList<ProjectExplorer::EnvironmentItem> &list)