summaryrefslogtreecommitdiffstats
path: root/installerbuilder/libinstaller/setexamplespathonqtoperation.cpp
diff options
context:
space:
mode:
authorTim Jenssen <tim.jenssen@nokia.com>2011-05-10 21:12:21 +0200
committerTim Jenssen <tim.jenssen@nokia.com>2011-05-10 21:12:21 +0200
commit8f40a20dd99b94041a6558053ec03bc775ae518d (patch)
tree5de8182a026a82a2c1bdd78c03dbb9c797382253 /installerbuilder/libinstaller/setexamplespathonqtoperation.cpp
parent041a6e9345026d7d80434ccdac63dec8cae2af9d (diff)
remove some un codingstyle spaces from operations
Diffstat (limited to 'installerbuilder/libinstaller/setexamplespathonqtoperation.cpp')
-rw-r--r--installerbuilder/libinstaller/setexamplespathonqtoperation.cpp27
1 files changed, 14 insertions, 13 deletions
diff --git a/installerbuilder/libinstaller/setexamplespathonqtoperation.cpp b/installerbuilder/libinstaller/setexamplespathonqtoperation.cpp
index 17b668d38..17cceadeb 100644
--- a/installerbuilder/libinstaller/setexamplespathonqtoperation.cpp
+++ b/installerbuilder/libinstaller/setexamplespathonqtoperation.cpp
@@ -58,10 +58,10 @@ bool SetExamplesPathOnQtOperation::performOperation()
{
const QStringList args = arguments();
- if( args.count() != 2) {
- setError( InvalidArguments );
- setErrorString( tr("Invalid arguments in %0: %1 arguments given, exact 2 expected.")
- .arg(name()).arg( arguments().count() ) );
+ if (args.count() != 2) {
+ setError(InvalidArguments);
+ setErrorString(tr("Invalid arguments in %0: %1 arguments given, exact 2 expected.")
+ .arg(name()).arg(arguments().count()));
return false;
}
@@ -78,23 +78,24 @@ bool SetExamplesPathOnQtOperation::performOperation()
if (qmakeValueHash.isEmpty())
{
- setError( UserDefinedError );
- setErrorString( tr("The output of \n%1 -query\n" \
- "is not parseable. Please make a bugreport with this dialog http://bugreports.qt.nokia.com.\n" \
- "output: \"%2\"").arg(QDir::toNativeSeparators(qmakePath), QString::fromUtf8(qmakeOutput)));
+ setError(UserDefinedError);
+ setErrorString(tr("The output of \n%1 -query\n" \
+ "is not parseable. Please make a bugreport with this dialog http://bugreports.qt.nokia.com.\n" \
+ "output: \"%2\"").arg(QDir::toNativeSeparators(qmakePath), QString::fromUtf8(qmakeOutput)));
return false;
}
- QByteArray oldValue = qmakeValueHash.value( QLatin1String("QT_INSTALL_EXAMPLES") );
+ QByteArray oldValue = qmakeValueHash.value(QLatin1String("QT_INSTALL_EXAMPLES"));
bool oldQtPathFromQMakeIsEmpty = oldValue.isEmpty();
if (oldQtPathFromQMakeIsEmpty) {
- verbose() << "qpatch: warning: It was not able to get the old values from " << qPrintable(qmakePath) << std::endl;
+ verbose() << "qpatch: warning: It was not able to get the old values from "
+ << qPrintable(qmakePath) << std::endl;
}
if (255 < newValue.size()) {
- setError( UserDefinedError );
- setErrorString( tr("Qt patch error: new Qt example path(%1)\n" \
- "needs to be less than 255 characters.").arg(QString::fromLocal8Bit(newValue)) );
+ setError(UserDefinedError);
+ setErrorString(tr("Qt patch error: new Qt example path(%1)\n" \
+ "needs to be less than 255 characters.").arg(QString::fromLocal8Bit(newValue)));
return false;
}