Commit 88d2efcb authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Whitespace Changes



Change-Id: I5cafe8a659090d7e6f7afeeac0c103f98085bda3
Reviewed-by: default avatarDaniel Teske <daniel.teske@nokia.com>
parent 24314562
......@@ -545,7 +545,7 @@ void MaemoPublisherFremantleFree::finishWithFailure(const QString &progressMsg,
bool MaemoPublisherFremantleFree::updateDesktopFiles(QString *error) const
{
bool success = true;
const Qt4MaemoDeployConfiguration * const deployConfig
const Qt4MaemoDeployConfiguration *const deployConfig
= qobject_cast<Qt4MaemoDeployConfiguration *>(m_buildConfig->target()->activeDeployConfiguration());
QTC_ASSERT(deployConfig, return false);
const DeploymentInfo *const deploymentInfo = deployConfig->deploymentInfo();
......
......@@ -50,7 +50,7 @@ class MaemoPublishingWizardFremantleFree : public Utils::Wizard
Q_OBJECT
public:
explicit MaemoPublishingWizardFremantleFree(const ProjectExplorer::Project *project,
QWidget *parent = 0);
QWidget *parent = 0);
private:
virtual int nextId() const;
......
......@@ -227,7 +227,7 @@ void Project::setActiveTarget(Target *target)
Target *Project::target(const Core::Id id) const
{
foreach (Target * target, d->m_targets) {
foreach (Target *target, d->m_targets) {
if (target->id() == id)
return target;
}
......
......@@ -87,7 +87,7 @@ public:
Q_UNUSED(e);
QPainter p(this);
QColor fillColor = Utils::StyleHelper::mergedColors(
palette().button().color(), Qt::black, 80);
palette().button().color(), Qt::black, 80);
p.fillRect(contentsRect(), fillColor);
}
};
......@@ -107,9 +107,9 @@ void RootWidget::paintEvent(QPaintEvent *e)
QPainter painter(this);
QColor light = Utils::StyleHelper::mergedColors(
palette().button().color(), Qt::white, 30);
palette().button().color(), Qt::white, 30);
QColor dark = Utils::StyleHelper::mergedColors(
palette().button().color(), Qt::black, 85);
palette().button().color(), Qt::black, 85);
painter.setPen(light);
painter.drawLine(rect().topRight(), rect().bottomRight());
......@@ -132,7 +132,7 @@ PanelsWidget::PanelsWidget(QWidget *parent) :
QPalette pal = m_root->palette();
QColor background = Utils::StyleHelper::mergedColors(
palette().window().color(), Qt::white, 85);
palette().window().color(), Qt::white, 85);
pal.setColor(QPalette::All, QPalette::Window, background.darker(102));
setPalette(pal);
pal.setColor(QPalette::All, QPalette::Window, background);
......
......@@ -506,7 +506,7 @@ void SymbianIDeviceConfigurationWidget::getInstalledPackagesResult(const Coda::C
const QString uidKey = QLatin1String("uid");
const QString errorKey = QLatin1String("error");
const QString versionKey = QLatin1String("version");
foreach (const QVariant& var, resultsList) {
foreach (const QVariant &var, resultsList) {
QVariantHash obj = var.toHash();
bool ok = false;
uint uid = obj.value(uidKey).toString().toUInt(&ok, 16);
......@@ -567,7 +567,7 @@ void SymbianIDeviceConfigurationWidget::getHalResult(const Coda::CodaCommandResu
int y = 0;
const QString nameKey = QLatin1String("name");
const QString valueKey = QLatin1String("value");
foreach (const QVariant& var, resultsList) {
foreach (const QVariant &var, resultsList) {
QVariantHash obj = var.toHash();
const QString name = obj.value(nameKey).toString();
if (name == QLatin1String("EDisplayXPixels"))
......
......@@ -103,7 +103,7 @@ private:
void setDeviceInfoLabel(const QString &message, bool isError = false);
QWidget * createCommunicationChannel();
QWidget *createCommunicationChannel();
void getQtVersionCommandResult(const Coda::CodaCommandResult &result);
void getRomInfoResult(const Coda::CodaCommandResult &result);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment