diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2019-05-26 07:22:13 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2019-07-30 13:05:11 +0300 |
commit | 7940bc32a1a4256a9ab4c032f2123c9fea8c6202 (patch) | |
tree | 1e8a31a8355efac9e3d53ff872c0ef7711ef0ae5 /src/corelib/tools/qtimeline.cpp | |
parent | 31ffc7bf2a0efe40116764a8c84939d2df4cdeae (diff) |
QLineEdit: use QMargins internally instead of 4 x int
Replace the four ints xTextMargin with one QMargins member, and the
effectiveXTextMargin() function with effectiveTextMargins(). The
left and right effective margins were always used together, so this
in no case leads to extra work, compared to separate functions.
Change-Id: I46d061919ffac297142213ccb4033caa0288b554
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'src/corelib/tools/qtimeline.cpp')
0 files changed, 0 insertions, 0 deletions