Fix build with GCC.

This commit is contained in:
John Preston 2023-10-13 10:06:15 +04:00
parent a38b60636a
commit 7ed87d049f
2 changed files with 0 additions and 5 deletions

View file

@ -133,10 +133,6 @@ QFixed LineBreakHelper::negativeRightBearing() const {
return qAbs(rightBearing);
}
QString DebugCurrentParsingString, DebugCurrentParsingPart;
int DebugCurrentParsingFrom = 0;
int DebugCurrentParsingLength = 0;
void addNextCluster(
int &pos,
int end,

View file

@ -39,7 +39,6 @@ void TableLayout::paintEvent(QPaintEvent *e) {
auto path = QPainterPath();
path.addRoundedRect(inner, _st.radius, _st.radius);
auto top = half;
for (auto i = 1, count = int(_rows.size()); i != count; ++i) {
const auto y = _rows[i].top - half;
path.moveTo(half, y);