Fix some warnings in tests.
- Unused variables - Signed/Unsigned comparisons. Change-Id: I0f4cc92a8366ad501d703d19c3358ac24db47270 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@nokia.com>
This commit is contained in:
parent
62b0f41ae0
commit
37320e36cd
@ -258,8 +258,8 @@ public slots:
|
|||||||
void checkPersistent()
|
void checkPersistent()
|
||||||
{
|
{
|
||||||
for (int row = 0; row < m_persistentProxyIndexes.size(); ++row) {
|
for (int row = 0; row < m_persistentProxyIndexes.size(); ++row) {
|
||||||
QModelIndex updatedProxy = m_persistentProxyIndexes.at(row);
|
m_persistentProxyIndexes.at(row);
|
||||||
QModelIndex updatedSource = m_persistentSourceIndexes.at(row);
|
m_persistentSourceIndexes.at(row);
|
||||||
}
|
}
|
||||||
for (int row = 0; row < m_persistentProxyIndexes.size(); ++row) {
|
for (int row = 0; row < m_persistentProxyIndexes.size(); ++row) {
|
||||||
QModelIndex updatedProxy = m_persistentProxyIndexes.at(row);
|
QModelIndex updatedProxy = m_persistentProxyIndexes.at(row);
|
||||||
|
@ -96,7 +96,7 @@ void tst_QSizePolicy::getSetCheck()
|
|||||||
QSizePolicy::ToolButton
|
QSizePolicy::ToolButton
|
||||||
};
|
};
|
||||||
|
|
||||||
#define ITEMCOUNT(arr) sizeof(arr)/sizeof(arr[0])
|
#define ITEMCOUNT(arr) int(sizeof(arr)/sizeof(arr[0]))
|
||||||
QSizePolicy sp, oldsp;
|
QSizePolicy sp, oldsp;
|
||||||
#ifdef GENERATE_BASELINE
|
#ifdef GENERATE_BASELINE
|
||||||
QFile out(QString::fromAscii("qsizepolicy-Qt%1%2.txt").arg((QT_VERSION >> 16) & 0xff).arg((QT_VERSION) >> 8 & 0xff));
|
QFile out(QString::fromAscii("qsizepolicy-Qt%1%2.txt").arg((QT_VERSION >> 16) & 0xff).arg((QT_VERSION) >> 8 & 0xff));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user