Skip to content

Commit

Permalink
ref #106, Missing round function on SuSE. (Changed to qRound)
Browse files Browse the repository at this point in the history
  • Loading branch information
gamecreature committed Aug 16, 2020
1 parent d946f68 commit 55e675a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

edbee.lib:

- ref #106, Missing round function on SuSE. (Changed to qRound)
- ref #99, Speed improvements for markAll. (Added beginChanges and endChanges, to prevent updating)
- fix #96, Added support for readonly mode, via widget->setReadonly() or controller->setReadonly
- fix #90, Fixed several Qt deprecation warnings. Chagned 0 to nullptr. Possible incompatibility with older releases!
Expand Down
2 changes: 1 addition & 1 deletion edbee-lib/edbee/views/textrenderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ int TextRenderer::xPosForColumn(int line, int column)
QTextLine tl = layout->lineAt(0);
x += tl.cursorToX(column);
}
return round(x);
return qRound(x);
}


Expand Down

0 comments on commit 55e675a

Please sign in to comment.