GCC warning.
--HG-- branch : develop
This commit is contained in:
parent
58ca1b3110
commit
a5e4261e55
|
@ -307,11 +307,17 @@ void DialogFinalMeasurements::MoveUp()
|
|||
return;
|
||||
}
|
||||
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_GCC("-Wstrict-overflow")
|
||||
|
||||
#if QT_VERSION < QT_VERSION_CHECK(5, 6, 0)
|
||||
Move(m_measurements, row, row-1);
|
||||
#else
|
||||
m_measurements.move(row, row-1);
|
||||
#endif
|
||||
|
||||
QT_WARNING_POP
|
||||
|
||||
UpdateTree();
|
||||
|
||||
ui->tableWidget->selectRow(row-1);
|
||||
|
@ -327,11 +333,17 @@ void DialogFinalMeasurements::MoveDown()
|
|||
return;
|
||||
}
|
||||
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_GCC("-Wstrict-overflow")
|
||||
|
||||
#if QT_VERSION < QT_VERSION_CHECK(5, 6, 0)
|
||||
Move(m_measurements, row, row+1);
|
||||
#else
|
||||
m_measurements.move(row, row+1);
|
||||
#endif
|
||||
|
||||
QT_WARNING_POP
|
||||
|
||||
UpdateTree();
|
||||
|
||||
ui->tableWidget->selectRow(row+1);
|
||||
|
|
Loading…
Reference in New Issue
Block a user