Fix various trivial formatting issues.
Change-Id: Ifa2a2dd2aa26dab178ec1334376db42fc3ebb355 Reviewed-on: http://codereview.qt.nokia.com/4029 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
This commit is contained in:
parent
d90da5d991
commit
9c51bd4fc8
@ -119,7 +119,6 @@ QBenchmarkTestMethodData *QBenchmarkTestMethodData::current;
|
||||
QBenchmarkTestMethodData::QBenchmarkTestMethodData()
|
||||
:resultAccepted(false), runOnce(false), iterationCount(-1)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
QBenchmarkTestMethodData::~QBenchmarkTestMethodData()
|
||||
@ -134,7 +133,6 @@ void QBenchmarkTestMethodData::beginDataRun()
|
||||
|
||||
void QBenchmarkTestMethodData::endDataRun()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
int QBenchmarkTestMethodData::adjustIterationCount(int suggestion)
|
||||
|
@ -87,10 +87,7 @@ QTestCoreElement<ElementType>::~QTestCoreElement()
|
||||
template <class ElementType>
|
||||
void QTestCoreElement<ElementType>::addAttribute(const QTest::AttributeIndex attributeIndex, const char *value)
|
||||
{
|
||||
if(attributeIndex == -1)
|
||||
return;
|
||||
|
||||
if (attribute(attributeIndex))
|
||||
if (attributeIndex == -1 || attribute(attributeIndex))
|
||||
return;
|
||||
|
||||
QTestElementAttribute *testAttribute = new QTestElementAttribute;
|
||||
|
@ -44,9 +44,9 @@
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
QTestElement::QTestElement(int type)
|
||||
:QTestCoreElement<QTestElement>(type),
|
||||
listOfChildren(0),
|
||||
parent(0)
|
||||
: QTestCoreElement<QTestElement>(type)
|
||||
, listOfChildren(0)
|
||||
, parent(0)
|
||||
{
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user