diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2020-09-22 14:41:38 +0200 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2020-09-30 16:28:42 +0200 |
commit | 158aba25c9878c0790717f1c7e88f2a4f90c96ee (patch) | |
tree | df3eed1e8ecdd5c67104c6667f2d197d55198098 /src/plugins/platforms/directfb/qdirectfb_egl.cpp | |
parent | 47cb350d8febf7837b0a7b3cf0eca0036b75a0cb (diff) |
Eliminate QDateTimeParser's mutable parameters at last
I noticed that QDTP has a mutable member, text, which gets set at the
end of each call to parse(); this makes all the in-out parameters
redundant, since relevant methods can simply access - and modify -
text, if it's set *at the start* of parse instaed. (There are no early
returns to complicate matters.) This also makes StateNode::input
redundant.
At the same time, rename the mutable member, as several methods shadow
it with parameter or local variable names; it is too generic.
Change-Id: I2259cd87de5c84201b25c9633d11e59a4a4d57a1
Reviewed-by: Andrei Golubev <andrei.golubev@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/plugins/platforms/directfb/qdirectfb_egl.cpp')
0 files changed, 0 insertions, 0 deletions