Maemo: Whitespace fixes.

This commit is contained in:
Christian Kandeler
2010-11-26 10:41:39 +01:00
parent f8979403ce
commit 20b58e4e6e
4 changed files with 4 additions and 4 deletions

View File

@@ -139,7 +139,7 @@ private:
{ {
const int startPort = parsePort(); const int startPort = parsePort();
if (atEnd() || nextChar() != '-') { if (atEnd() || nextChar() != '-') {
m_portList.addPort(startPort); m_portList.addPort(startPort);
return; return;
} }
++m_pos; ++m_pos;

View File

@@ -598,7 +598,7 @@ void MaemoPackageCreationStep::updateDesktopFiles(const QString &rulesFilePath)
desktopFileDir.remove(QLatin1Char(':')); desktopFileDir.remove(QLatin1Char(':'));
desktopFileDir.prepend(QLatin1Char('/')); desktopFileDir.prepend(QLatin1Char('/'));
#endif #endif
int insertPos = makeInstallEol + 1; int insertPos = makeInstallEol + 1;
for (int i = 0; i < deployStep()->deployables()->modelCount(); ++i) { for (int i = 0; i < deployStep()->deployables()->modelCount(); ++i) {
const MaemoDeployableListModel * const model const MaemoDeployableListModel * const model
= deployStep()->deployables()->modelAt(i); = deployStep()->deployables()->modelAt(i);

View File

@@ -43,7 +43,7 @@ namespace Internal {
class MaemoRemoteMountsModel : public QAbstractTableModel class MaemoRemoteMountsModel : public QAbstractTableModel
{ {
Q_OBJECT Q_OBJECT
public: public:
explicit MaemoRemoteMountsModel(QObject *parent = 0); explicit MaemoRemoteMountsModel(QObject *parent = 0);
int mountSpecificationCount() const { return m_mountSpecs.count(); } int mountSpecificationCount() const { return m_mountSpecs.count(); }
int validMountSpecificationCount() const; int validMountSpecificationCount() const;

View File

@@ -118,7 +118,7 @@ void MaemoSshRunner::start()
SLOT(handleConnected())); SLOT(handleConnected()));
connect(m_connection.data(), SIGNAL(error(Core::SshError)), this, connect(m_connection.data(), SIGNAL(error(Core::SshError)), this,
SLOT(handleConnectionFailure())); SLOT(handleConnectionFailure()));
if (reUse) { if (reUse) {
handleConnected(); handleConnected();
} else { } else {
emit reportProgress(tr("Connecting to device...")); emit reportProgress(tr("Connecting to device..."));