D17742: Clean up content rect in TerminalDisplay
Martin Tobias Holmedahl Sandsmark
noreply at phabricator.kde.org
Sat Dec 22 20:12:53 GMT 2018
sandsmark created this revision.
sandsmark added reviewers: hindenburg, Konsole.
sandsmark added a project: Konsole.
Herald added a subscriber: konsole-devel.
sandsmark requested review of this revision.
REVISION SUMMARY
Instead of having to make sure we check both content rects everywhere, we can just use the normal QWidget content rect. Also some tiny cleanup where I was touching anyways.
TEST PLAN
Tested with various styles, turning scrollbars on/off, various margins, primary and secondary screen.
REPOSITORY
R319 Konsole
REVISION DETAIL
https://phabricator.kde.org/D17742
AFFECTED FILES
src/TerminalDisplay.cpp
src/TerminalDisplay.h
To: sandsmark, hindenburg, #konsole
Cc: konsole-devel, #konsole, thsurrel, ngraham, maximilianocuria, hindenburg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/konsole-devel/attachments/20181222/31ebc9de/attachment.html>
More information about the konsole-devel
mailing list