Maemo: Move more functionality into the new target classes.

This commit is contained in:
Christian Kandeler
2011-01-19 11:06:43 +01:00
parent 2ec85cc67a
commit 3a87fdd5f1
10 changed files with 34 additions and 27 deletions

View File

@@ -35,6 +35,7 @@
#include "maemoglobal.h"
#include "maemousedportsgatherer.h"
#include "qt4maemotarget.h"
#include <coreplugin/ssh/sftpchannel.h>
#include <coreplugin/ssh/sshconnection.h>
@@ -75,7 +76,8 @@ void MaemoRemoteMounter::setBuildConfiguration(const Qt4BuildConfiguration *bc)
{
ASSERT_STATE(Inactive);
const QtVersion * const qtVersion = bc->qtVersion();
m_remoteMountsAllowed = MaemoGlobal::allowsRemoteMounts(qtVersion);
m_remoteMountsAllowed
= qobject_cast<AbstractQt4MaemoTarget *>(bc->target())->allowsRemoteMounts();
m_maddeRoot = MaemoGlobal::maddeRoot(qtVersion);
}